\GuzzleHttpMessageFormatterInterface

Summary

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

Methods

format()

format(\Psr\Http\Message\RequestInterface  $request, \Psr\Http\Message\ResponseInterface|null  $response = null, \Throwable|null  $error = null) : string

Returns a formatted message string.

Parameters

\Psr\Http\Message\RequestInterface $request

Request that was sent

\Psr\Http\Message\ResponseInterface|null $response

Response that was received

\Throwable|null $error

Exception that was received

Returns

string —