\Psr\Http\ClientClientInterface

Summary

Methods
Constants
sendRequest()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

sendRequest()

sendRequest(\Psr\Http\Message\RequestInterface  $request) : \Psr\Http\Message\ResponseInterface

Sends a PSR-7 request and returns a PSR-7 response.

Parameters

\Psr\Http\Message\RequestInterface $request

Throws

\Psr\Http\Client\ClientExceptionInterface

If an error happens while processing the request.

Returns

\Psr\Http\Message\ResponseInterface —