forked from lino/radar-wp
Initial import.
This commit is contained in:
commit
86383280c9
428 changed files with 68738 additions and 0 deletions
27
vendor/guzzle/parser/Guzzle/Parser/Message/MessageParserInterface.php
vendored
Normal file
27
vendor/guzzle/parser/Guzzle/Parser/Message/MessageParserInterface.php
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace Guzzle\Parser\Message;
|
||||
|
||||
/**
|
||||
* HTTP message parser interface used to parse HTTP messages into an array
|
||||
*/
|
||||
interface MessageParserInterface
|
||||
{
|
||||
/**
|
||||
* Parse an HTTP request message into an associative array of parts.
|
||||
*
|
||||
* @param string $message HTTP request to parse
|
||||
*
|
||||
* @return array|bool Returns false if the message is invalid
|
||||
*/
|
||||
public function parseRequest($message);
|
||||
|
||||
/**
|
||||
* Parse an HTTP response message into an associative array of parts.
|
||||
*
|
||||
* @param string $message HTTP response to parse
|
||||
*
|
||||
* @return array|bool Returns false if the message is invalid
|
||||
*/
|
||||
public function parseResponse($message);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue