class Client extends Client implements LoggerAwareInterface (View source)

Traits

Trait LoggerAwareTrait A trait used with LoggerAwareInterface

LoggerAwareTrait

Methods

getLoggerChannel()

No description

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

getLoggerChannel()

No description

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()