Debian Codegraph @

vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php

raw
1 <?php
2
3 namespace GuzzleHttp;
4
5 use Psr\Http\Message\RequestInterface;
6 use Psr\Http\Message\ResponseInterface;
7
8 interface MessageFormatterInterface
9 {
10 /**
11 * Returns a formatted message string.
12 *
13 * @param RequestInterface $request Request that was sent
14 * @param ResponseInterface|null $response Response that was received
15 * @param \Throwable|null $error Exception that was received
16 */
17 public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string;
18 }