# searchpro/4.1.17/BerqWP/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php

BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS &amp; JavaScript, version 4.1.17. 19 lines.

- Page: https://pluginprobe.com/plugins/searchpro/4.1.17/code/BerqWP/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php
- Raw: https://pluginprobe.com/plugins/searchpro/4.1.17/raw/BerqWP/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php
- Modified: 2025-07-18T08:37:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/searchpro/4.1.17/code/BerqWP/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php#L10-L20`.

```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;
}

```
