vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Variable HTTPClientSettings.connectTimeout

Timeout for establishing a connection to the server

class HTTPClientSettings
  // ...
  core.time.Duration connectTimeout = Duration(9223372036854775807L);
  // ...

Note that this setting is only supported when using the vibe-core module. If using one of the legacy drivers, any value other than Duration.max will emit a runtime warning and connects without a specific timeout.


Sönke Ludwig, Jan Krüger


© 2012-2014 Sönke Ludwig


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.