Files
drmaterac.pl/modules/pdgoogleanalytycs4pro/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php
2025-01-06 20:47:25 +01:00

19 lines
564 B
PHP

<?php
namespace GuzzleHttp7;
use Psr\Http7\Message\RequestInterface;
use Psr\Http7\Message\ResponseInterface;
interface MessageFormatterInterface
{
/**
* Returns a formatted message string.
*
* @param RequestInterface $request Request that was sent
* @param ResponseInterface|null $response Response that was received
* @param \Throwable|null $error Exception that was received
*/
public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string;
}