Lines Matching refs:message
4 message implementation, several stream decorators, and some helpful
313 `public static function toString(MessageInterface $message): string`
315 Returns the string representation of an HTTP message.
325 `public static function bodySummary(MessageInterface $message, int $truncateAt = 120): string|null`
327 Get a short summary of the message body.
334 `public static function rewindBody(MessageInterface $message): void`
336 Attempts to rewind a message body and throws an exception on failure.
338 The body of the message will only be rewound if a call to `tell()`
344 `public static function parseMessage(string $message): array`
346 Parses an HTTP message into an associative array.
349 the message, "headers" key containing an associative array of header
350 array values, and a "body" key containing the body of the message.
357 Constructs a URI for an HTTP request message.
362 `public static function parseRequest(string $message): Request`
364 Parses a request message string into a request object.
369 `public static function parseResponse(string $message): Response`
371 Parses a response message string into a response object.
455 a message.