class Client extends Client implements LoggerAwareInterface (View source)

Properties

protected LoggerInterface|null $logger

Methods

LoggerInterface|null
getLogger()

Get the currently configured logger.

setLogger(LoggerInterface $value = null)

Set the currently configured logger.

send(Request $request = null)

{@inheritdoc}

doRequest(Http $uri, $method, $secure = false, $headers = [], $body = '')

{@inheritdoc}

Details

LoggerInterface|null getLogger()

Get the currently configured logger.

Return Value

LoggerInterface|null

Client setLogger(LoggerInterface $value = null)

Set the currently configured logger.

Parameters

LoggerInterface $value

Return Value

Client

send(Request $request = null)

{@inheritdoc}

Parameters

Request $request

See also

\Zend\Http\Client::send()

protected doRequest(Http $uri, $method, $secure = false, $headers = [], $body = '')

{@inheritdoc}

Parameters

Http $uri
$method
$secure
$headers
$body

See also

\Zend\Http\Client::doRequest()