Open Monograph Press  3.3.0
Guzzle\Parser\Message\MessageParserInterface Interface Reference
Inheritance diagram for Guzzle\Parser\Message\MessageParserInterface:
Guzzle\Parser\Message\AbstractMessageParser Guzzle\Parser\Message\MessageParser Guzzle\Parser\Message\PeclHttpMessageParser

Public Member Functions

 parseRequest ($message)
 
 parseResponse ($message)
 

Detailed Description

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

Definition at line 8 of file MessageParserInterface.php.

Member Function Documentation

◆ parseRequest()

Guzzle\Parser\Message\MessageParserInterface::parseRequest (   $message)

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

Parameters
string$messageHTTP request to parse
Returns
array|bool Returns false if the message is invalid

Implemented in Guzzle\Parser\Message\MessageParser, and Guzzle\Parser\Message\PeclHttpMessageParser.

◆ parseResponse()

Guzzle\Parser\Message\MessageParserInterface::parseResponse (   $message)

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

Parameters
string$messageHTTP response to parse
Returns
array|bool Returns false if the message is invalid

Implemented in Guzzle\Parser\Message\MessageParser, and Guzzle\Parser\Message\PeclHttpMessageParser.


The documentation for this interface was generated from the following file: