Methods |
public
static
bodySummary
(
Psr\Http\Message\MessageInterface
$message
,
$truncateAt
=
120
) Get a short summary of the message body. Will return
|
public
static
parseMessage
(
$message
) Parses an HTTP message into an associative array. The array contains the "start-line" key containing the start line of
|
public
static
parseRequest
(
$message
) |
public
static
parseRequestUri
(
$path
,
array
$headers
) Constructs a URI for an HTTP request message.
|
public
static
parseResponse
(
$message
) |
public
static
rewindBody
(
Psr\Http\Message\MessageInterface
$message
) Attempts to rewind a message body and throws an exception on failure. The body of the message will only be rewound if a call to
|
public
static
toString
(
Psr\Http\Message\MessageInterface
$message
) Returns the string representation of an HTTP message.
|
Methods |
public
static
bodySummary
(
Psr\Http\Message\MessageInterface
$message
,
$truncateAt
=
120
) Get a short summary of the message body. Will return
|
public
static
parseMessage
(
$message
) Parses an HTTP message into an associative array. The array contains the "start-line" key containing the start line of
|
public
static
parseRequest
(
$message
) |
public
static
parseRequestUri
(
$path
,
array
$headers
) Constructs a URI for an HTTP request message.
|
public
static
parseResponse
(
$message
) |
public
static
rewindBody
(
Psr\Http\Message\MessageInterface
$message
) Attempts to rewind a message body and throws an exception on failure. The body of the message will only be rewound if a call to
|
public
static
toString
(
Psr\Http\Message\MessageInterface
$message
) Returns the string representation of an HTTP message.
|