# depicter/trunk/modules/Psr/Http/Client/ClientInterface.php

Depicter — Popup &amp; Slider Builder, version trunk. 21 lines.

- Page: https://pluginprobe.com/plugins/depicter/trunk/code/modules/Psr/Http/Client/ClientInterface.php
- Raw: https://pluginprobe.com/plugins/depicter/trunk/raw/modules/Psr/Http/Client/ClientInterface.php
- Modified: 2022-06-01T06:26:20+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/depicter/trunk/code/modules/Psr/Http/Client/ClientInterface.php#L10-L20`.

```php
<?php

namespace Depicter\Psr\Http\Client;

use Depicter\Psr\Http\Message\RequestInterface;
use Depicter\Psr\Http\Message\ResponseInterface;

interface ClientInterface
{
    /**
     * Sends a PSR-7 request and returns a PSR-7 response.
     *
     * @param RequestInterface $request
     *
     * @return ResponseInterface
     *
     * @throws \Depicter\Psr\Http\Client\ClientExceptionInterface If an error happens while processing the request.
     */
    public function sendRequest(RequestInterface $request): ResponseInterface;
}

```
