__toString()
getContent()
getHeaders()
getMetadata()
getVersion()
setContent()
setHeaders()
setMetadata()
setVersion()
toString()
$content
$headers
$metadata
$version
VERSION_10
VERSION_11
HTTP standard message (Request/Response)
link | http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4 |
---|
__toString() : string
string
getContent() : mixed
inherited_from | \Zend\Stdlib\Message::getContent() |
---|
mixed
getMetadata(null | string | int $key, null | mixed $default) : mixed
inherited_from | \Zend\Stdlib\Message::getMetadata() |
---|
nullstringint
nullmixed
\Zend\Stdlib\Exception\InvalidArgumentException |
---|
mixed
getVersion() : string
string
setContent(mixed $value) : \Zend\Stdlib\Message
inherited_from | \Zend\Stdlib\Message::setContent() |
---|
mixed
setHeaders(\Zend\Http\Headers $headers) : \Zend\Http\AbstractMessage
setMetadata(string | int | array | \Traversable $spec, mixed $value) : \Zend\Stdlib\Message
Non-destructive setting of message metadata; always adds to the metadata, never overwrites the entire metadata container.
inherited_from | \Zend\Stdlib\Message::setMetadata() |
---|
stringintarray\Traversable
mixed
\Zend\Stdlib\Exception\InvalidArgumentException |
---|
setVersion(string $version) : \Zend\Http\AbstractMessage
string
(Must be 1.0 or 1.1)
\Zend\Http\Exception\InvalidArgumentException |
---|
toString() : string
inherited_from | \Zend\Stdlib\Message::toString() |
---|
string
$content : string
inherited_from | \Zend\Stdlib\Message::$$content |
---|
$version : string
VERSION_10
VERSION_11