vibe.d beta banner
get vibe.d
0.10.0

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

Variable HTTPServerSettings.webSocketPingInterval

Interval between WebSocket ping frames.

class HTTPServerSettings
{
  // ...
  core.time.Duration webSocketPingInterval = Duration(600000000L);
  // ...
}

The default value is 60 seconds; set to Duration.zero to disable pings.

Authors

Sönke Ludwig, Jan Krüger, Ilya Shipunov

Copyright

© 2012-2017 Sönke Ludwig

License

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