Documentation

HttpClient extends ClientInterface

since version 2.4, use Psr\Http\Client\ClientInterface instead; see https://www.php-fig.org/psr/psr-18/

Provide the Httplug HttpClient interface for BC. You should typehint Psr\Http\Client\ClientInterface in new code

Table of Contents

Methods

sendRequest()  : ResponseInterface
Sends a PSR-7 request and returns a PSR-7 response.

Methods


        
On this page

Search results