maxConnectionsPerHost property
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 => _nativeHttpClient.maxConnectionsPerHost!;
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) {
_nativeHttpClient.maxConnectionsPerHost = _maxConnectionsPerHost;
}