Zend Framework
3.0
|
Static Public Member Functions | |
static | fromString ($message) |
Deserialize a response string to a response instance. | |
static | fromStream (StreamInterface $stream) |
Parse a response from a stream. | |
static | toString (ResponseInterface $response) |
Create a string representation of a response. | |
Additional Inherited Members | |
Public Attributes inherited from AbstractSerializer | |
const | CR = "\r" |
const | EOL = "\r\n" |
const | LF = "\n" |
Static Protected Member Functions inherited from AbstractSerializer | |
static | getLine (StreamInterface $stream) |
Retrieve a single line from the stream. | |
static | splitStream (StreamInterface $stream) |
Split the stream into headers and body content. | |
static | serializeHeaders (array $headers) |
Serialize headers to string values. | |
static | filterHeader ($header) |
Filter a header name to wordcase. | |
|
static |
Parse a response from a stream.
StreamInterface | $stream |
InvalidArgumentException | when the stream is not readable. |
UnexpectedValueException | when errors occur parsing the message. |
|
static |
Deserialize a response string to a response instance.
string | $message |
UnexpectedValueException | when errors occur parsing the message. |
|
static |
Create a string representation of a response.
ResponseInterface | $response |