• Barebone\Response

    Barebone\Response
    • [P] $_protocol : string
    • [P] $_status : int
    • [P] $_headers : array
    • [P] $_url : string
    • [P] $_charset : string
    • [P] $_contentType : int
    • [P] $_cacheDirectives : array
    • [P] $_cookies : array
    • [P] $_body : string
    • [P] $_file : File
    • [P] $_fileRange : array
    • [M] header( $header, $value ) : void
    • [M] location( $url ) : void
    • [M] charset( $charset ) : void
    • [M] contenttype( $contenttype ) : void
    • [M] cache( $since, $time ) : void
    • [M] body( $content ) : void
    • [M] __toString() : string
    • [M] statuscode( $code ) : void
    • [M] disableCache() : void
    • [M] getMimeType( $alias ) : void
    • [M] mapType( $ctype ) : void
    • [M] sharable( $public, $time ) : void
    • [M] sharedMaxAge( $seconds ) : void
    • [M] maxAge( $seconds ) : void
    • [M] mustRevalidate( $enable ) : void
    • [M] _setCacheControl() : void
    • [M] _setContent() : void
    • [M] _setContentLength() : void
    • [M] _setContentType() : void
    • [M] _sendContent( $content ) : void
    • [M] _sendHeader( $name, $value ) : void
    • [M] send() : void
    • [M] _setCookies() : void
    • [M] expires( $time ) : void
    • [M] modified( $time ) : void
    • [M] notModified() : void
    • [M] vary( $cacheVariances ) : void
    • [M] type( $contentType ) : void
    • [M] etag( $tag, $weak ) : void
    • [M] _getUTCDate( $time ) : void
    • [M] compress() : void
    • [M] outputCompressed() : void
    • [M] download( $filename ) : void
    • [M] protocol( $protocol ) : void
    • [M] length( $bytes ) : void
    • [M] cookie( $options ) : void
    • [M] file( $path, $options ) : void
    • [M] _fileRange( $file, $httpRange ) : void
    • [M] _sendFile( $file, $range ) : void
    • [M] _isActive() : void
    • [M] _clearBuffer() : void
    • [M] _flushBuffer() : void
    • [M] json( $data, $options ) : void
    • [M] status_code_full( $code ) : void