Files
huangjingfen/pro_v3.5.1/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php
panchengyong 7acbf45ff7 new files
2026-03-07 22:29:07 +08:00

19 lines
559 B
PHP

<?php
namespace GuzzleHttp;
use Psr\Http\Message\RequestInterface;
use Psr\Http\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;
}