Client

Describes a client instance.

$client = new \Samy\Psr18\Client();

sendRequest

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

$response = $client->sendRequest($request);