maxConnectionsPerHost property

  1. @override
int? get maxConnectionsPerHost
override

Gets and sets the maximum number of live connections, to a single host.

Increasing this number may lower performance and take up unwanted system resources.

To disable, set to null.

Default is null.

Implementation

@override
int? get maxConnectionsPerHost => _httpClient.maxConnectionsPerHost;
  1. @override
set maxConnectionsPerHost (int? value)
override

Gets and sets the maximum number of live connections, to a single host.

Increasing this number may lower performance and take up unwanted system resources.

To disable, set to null.

Default is null.

Implementation

@override
set maxConnectionsPerHost(int? value) =>
    _httpClient.maxConnectionsPerHost = value;