var DefaultWebSocketServerSession.pingInterval: Duration?
Ping interval or val WebSockets.pingInterval: Duration? |
|
var WebSocketOptions.pingPeriod: Duration? |
|
var DefaultWebSocketServerSession.timeout: Duration
A timeout to wait for pong reply to ping otherwise the session will be terminated immediately.
It doesn't have any effect if pingInterval is val WebSockets.timeout: Duration var WebSocketOptions.timeout: Duration |
fun WebSockets(pingInterval: Duration?, timeout: Duration, maxFrameSize: Long, masking: Boolean): WebSockets |