Zend Framework
3.0
|
HTTP standard message (Request/Response) More...
Public Member Functions | |
setVersion ($version) | |
Set the HTTP version for this object, one of 1.0 or 1.1 (AbstractMessage::VERSION_10, AbstractMessage::VERSION_11) | |
getVersion () | |
Return the HTTP version for this request. | |
setHeaders (Headers $headers) | |
Provide an alternate Parameter Container implementation for headers in this object, (this is NOT the primary API for value setting, for that see getHeaders()) | |
getHeaders () | |
Return the header container responsible for headers. | |
__toString () | |
Allow PHP casting of this object. | |
Public Attributes | |
const | VERSION_10 = '1.0' |
#@+ string Version constant numbers | |
const | VERSION_11 = '1.1' |
Protected Attributes | |
$version = self::VERSION_11 | |
$headers = null | |
HTTP standard message (Request/Response)
__toString | ( | ) |
Allow PHP casting of this object.
getHeaders | ( | ) |
Return the header container responsible for headers.
getVersion | ( | ) |
Return the HTTP version for this request.
setHeaders | ( | Headers | $headers | ) |
Provide an alternate Parameter Container implementation for headers in this object, (this is NOT the primary API for value setting, for that see getHeaders())
Headers | $headers |
setVersion | ( | $version | ) |
Set the HTTP version for this object, one of 1.0 or 1.1 (AbstractMessage::VERSION_10, AbstractMessage::VERSION_11)
string | $version | (Must be 1.0 or 1.1) |
Exception\InvalidArgumentException |
|
protected |
|
protected |
const VERSION_10 = '1.0' |
#@+ string Version constant numbers
const VERSION_11 = '1.1' |