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 => client.maxConnectionsPerHost;
  1. @override
set maxConnectionsPerHost (int? 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
set maxConnectionsPerHost(int? maxConnectionsPerHost) =>
    client.maxConnectionsPerHost = maxConnectionsPerHost;