\Guzzle\Parser\MessageMessageParserInterface

HTTP message parser interface used to parse HTTP messages into an array

Summary

Methods
Constants
parseRequest()
parseResponse()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

parseRequest()

parseRequest(string  $message) : array|boolean

Parse an HTTP request message into an associative array of parts.

Parameters

string $message

HTTP request to parse

Returns

array|boolean —

Returns false if the message is invalid

parseResponse()

parseResponse(string  $message) : array|boolean

Parse an HTTP response message into an associative array of parts.

Parameters

string $message

HTTP response to parse

Returns

array|boolean —

Returns false if the message is invalid