Class MessageParser
Default request and response parser used by Guzzle. Optimized for speed.
-
Guzzle\Parser\Message\AbstractMessageParser
implements
Guzzle\Parser\Message\MessageParserInterface
-
Guzzle\Parser\Message\MessageParser
Methods summary
public
array|boolean
|
#
parseRequest( string $message )
Parse an HTTP request message into an associative array of parts.
Parse an HTTP request message into an associative array of parts.
Parameters
- $message
string $message HTTP request to parse
Returns
array|boolean Returns false if the message is invalid
|
public
array|boolean
|
#
parseResponse( string $message )
Parse an HTTP response message into an associative array of parts.
Parse an HTTP response message into an associative array of parts.
Parameters
- $message
string $message HTTP response to parse
Returns
array|boolean Returns false if the message is invalid
|
protected
array
|
#
parseMessage( string $message )
Parse a message into parts
Parse a message into parts
Parameters
- $message
string $message Message to parse
Returns
array
|