Class PeclHttpMessageParser
Pecl HTTP message parser
- Guzzle\Parser\Message\AbstractMessageParser implements Guzzle\Parser\Message\MessageParserInterface
-
Guzzle\Parser\Message\PeclHttpMessageParser
Methods summary
-
public
parseRequest ( string $message )
Parse an HTTP request message into an associative array of parts.
-
public
parseResponse ( string $message )
Parse an HTTP response message into an associative array of parts.
Methods detail
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
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