Open Journal Systems  3.3.0
Http\Client\HttpAsyncClient Interface Reference
Inheritance diagram for Http\Client\HttpAsyncClient:
Http\Adapter\Guzzle6\Client

Public Member Functions

 sendAsyncRequest (RequestInterface $request)
 

Detailed Description

Sends a PSR-7 Request in an asynchronous way by returning a Promise.

Author
Joel Wurtz joel..nosp@m.wurt.nosp@m.z@gma.nosp@m.il.c.nosp@m.om

Definition at line 13 of file HttpAsyncClient.php.

Member Function Documentation

◆ sendAsyncRequest()

Http\Client\HttpAsyncClient::sendAsyncRequest ( RequestInterface  $request)

Sends a PSR-7 request in an asynchronous way.

Exceptions related to processing the request are available from the returned Promise.

Returns
Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception.
Exceptions

Implemented in Http\Adapter\Guzzle6\Client.


The documentation for this interface was generated from the following file: