class Guzzle5HttpHandler (View source)

Methods

__construct(ClientInterface $client)

No description

ResponseInterface
__invoke(RequestInterface $request, array $options = [])

Accepts a PSR-7 Request and an array of options and returns a PSR-7 response.

Promise
async(RequestInterface $request, array $options = [])

Accepts a PSR-7 request and an array of options and returns a PromiseInterface

Details

__construct(ClientInterface $client)

No description

Parameters

ClientInterface $client

ResponseInterface __invoke(RequestInterface $request, array $options = [])

Accepts a PSR-7 Request and an array of options and returns a PSR-7 response.

Parameters

RequestInterface $request
array $options

Return Value

ResponseInterface

Promise async(RequestInterface $request, array $options = [])

Accepts a PSR-7 request and an array of options and returns a PromiseInterface

Parameters

RequestInterface $request
array $options

Return Value

Promise