dart / 1 / dart-io / httpclient / maxconnectionsperhost.html

maxConnectionsPerHost property

int maxConnectionsPerHost
read / write

Get and set 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.

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