connectionTimeout property
read / write
Gets and sets the connection timeout.
When connecting to a new host exceeds this timeout, a SocketException is thrown. The timeout applies only to connections initiated after the timeout is set.
When this is null, the OS default timeout is used. The default is null.
Implementation
Duration? connectionTimeout;
© 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/connectionTimeout.html