Documentation

HttpClientConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$defaultOptions  : mixed
$enabled  : mixed
$maxHostConnections  : mixed
$mockResponseFactory  : mixed
$scopedClients  : mixed

Methods

__construct()  : mixed
defaultOptions()  : DefaultOptionsConfig
enabled()  : $this
maxHostConnections()  : $this
The maximum number of connections to a single host.
mockResponseFactory()  : $this
The id of the service that should generate mock responses. It should be either an invokable or an iterable.
scopedClient()  : ScopedClientConfig|$this
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

mockResponseFactory()

The id of the service that should generate mock responses. It should be either an invokable or an iterable.

public mockResponseFactory(ParamConfigurator|mixed $value) : $this
Parameters
$value : ParamConfigurator|mixed
Tags
default

null

Return values
$this

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results