Documentation

HTTPClientInterface extends ClientInterface

Table of Contents

Methods

setLogger()  : static
Sets a PSR-3 Logger
setResponseFactory()  : static
Sets a PSR-17 response factory
setStreamFactory()  : static
Sets a PSR-17 stream factory

Methods

setLogger()

Sets a PSR-3 Logger

public setLogger(LoggerInterface $logger) : static
Parameters
$logger : LoggerInterface
Return values
static

setResponseFactory()

Sets a PSR-17 response factory

public setResponseFactory(ResponseFactoryInterface $responseFactory) : static
Parameters
$responseFactory : ResponseFactoryInterface
Return values
static

setStreamFactory()

Sets a PSR-17 stream factory

public setStreamFactory(StreamFactoryInterface $streamFactory) : static
Parameters
$streamFactory : StreamFactoryInterface
Return values
static

        
On this page

Search results