SDK for PHP 3.x

GuzzleHandler
in package

A request handler that sends PSR-7-compatible requests with Guzzle 5.

The handler accepts a PSR-7 Request object and an array of transfer options and returns a Guzzle 6 Promise. The promise is either resolved with a PSR-7 Response object or rejected with an array of error data.

Tags
codeCoverageIgnore

Table of Contents

Methods

__construct()  : mixed
__invoke()  : Promise|PromiseInterface

Methods

__construct()

public __construct([ClientInterface $client = null ]) : mixed
Parameters
$client : ClientInterface = null
On this page