\Hazaar\Http
Response
Summary
Methods Properties Constants
No constants
Properties
$body
$body
$buffer
$buffer
$bytes_remaining
$bytes_remaining
$chunk_len
$chunk_len
$chunk_offset
$chunk_offset
$chunked
$chunked
$content_length
$content_length
$headers
$headers
$headers_parsed
$headers_parsed
$name
$name
$status
$status
$version
$version
Methods
__construct()
__construct($status = null, $headers = Array ( ) , $version = 'HTTP/1.1')

Parameters

$statusint

No description

$headersarray

No description

$version

No description

__get()
__get($key)

Parameters

$key

No description

body()
body($raw = false)

Parameters

$raw

No description

decrypt()
decrypt($key, $cipher = null)

Parameters

$key

No description

$cipher

No description

getContentType()
getContentType($args = Array ( ) )

Parameters

$args

No description

getHeader()
getHeader($header)

Parameters

$header

No description

getStatusMessage()
getStatusMessage($code = null)

Parameters

$code

No description

hasHeader()
hasHeader($key)

Parameters

$key

No description

read()
read($buffer)

Parameters

$buffer

No description

size()
size()
toString()
toString()
write()
write($string)

Parameters

$string

No description