class HttpHandlerFactory (View source)

Methods

build(ClientInterface $client = null)

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

Details

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

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

Parameters

ClientInterface $client

Return Value

Guzzle5HttpHandler|Guzzle6HttpHandler|Guzzle7HttpHandler

Exceptions

Exception