Last change
on this file since e3d4e0a 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 |
|
---|
3 | namespace GuzzleHttp;
|
---|
4 |
|
---|
5 | use Psr\Http\Message\RequestInterface;
|
---|
6 | use Psr\Http\Message\ResponseInterface;
|
---|
7 |
|
---|
8 | interface 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.