Files
lulandia.pl/modules/pdgoogleanalytycs4pro/vendor/psr/http-client/src/ClientInterface.php
2025-04-01 00:38:54 +02:00

21 lines
504 B
PHP

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