mirror of
https://gh.wpcy.net/https://github.com/pixelabs-wp/whitelabel-plugins-update-server.git
synced 2026-04-18 04:02:15 +08:00
18 lines
559 B
PHP
18 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;
|
|
}
|