GuzzleHandler
in package
A request handler that sends PSR-7-compatible requests with Guzzle 6.
Table of Contents
- $client : ClientInterface
- __construct() : mixed
- __invoke() : Promise
- parseOptions() : mixed
Properties
$client
private
ClientInterface
$client
Methods
__construct()
public
__construct([ClientInterface $client = null ]) : mixed
Parameters
- $client : ClientInterface = null
Return values
mixed —__invoke()
public
__invoke(RequestInterface $request[, array<string|int, mixed> $options = [] ]) : Promise
Parameters
- $request : RequestInterface
- $options : array<string|int, mixed> = []
Return values
Promise —parseOptions()
private
parseOptions(array<string|int, mixed> $options) : mixed
Parameters
- $options : array<string|int, mixed>