class HttpHandlerFactory (View source)

Methods

build(ClientInterface|null $client = null)

Builds out a default http handler for the installed version of guzzle.

Details

static Guzzle6HttpHandler|Guzzle7HttpHandler build(ClientInterface|null $client = null)

Builds out a default http handler for the installed version of guzzle.

Parameters

ClientInterface|null $client

Return Value

Guzzle6HttpHandler|Guzzle7HttpHandler

Exceptions

Exception