source: vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 561 bytes
Line 
1<?php
2
3namespace GuzzleHttp;
4
5use Psr\Http\Message\RequestInterface;
6use Psr\Http\Message\ResponseInterface;
7
8interface 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}
Note: See TracBrowser for help on using the repository browser.