maxConnectionsPerHost property

int? maxConnectionsPerHost
read / write

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

int? maxConnectionsPerHost;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/HttpClient/maxConnectionsPerHost.html