All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
19 lines
561 B
PHP
19 lines
561 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;
|
|
}
|