Open Monograph Press  3.3.0
GuzzleHttp\Handler\StreamHandler Class Reference

Public Member Functions

 __invoke (RequestInterface $request, array $options)
 

Detailed Description

HTTP handler that uses PHP's HTTP stream wrapper.

Definition at line 18 of file StreamHandler.php.

Member Function Documentation

◆ __invoke()

GuzzleHttp\Handler\StreamHandler::__invoke ( RequestInterface  $request,
array  $options 
)

Sends an HTTP request.

Parameters
RequestInterface$requestRequest to send.
array$optionsRequest transfer options.
Returns
PromiseInterface

Definition at line 30 of file StreamHandler.php.

References GuzzleHttp\Utils\currentTime(), and GuzzleHttp\Exception\RequestException\wrapException().


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