vibe.d beta banner
get vibe.d
0.10.1

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.

Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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