ktor-http-cio / io.ktor.http.cio.websocket / DefaultWebSocketSessionImpl / timeoutMillis

timeoutMillis

var timeoutMillis: Long

Overrides DefaultWebSocketSession.timeoutMillis

A timeout to wait for pong reply to ping otherwise the session will be terminated immediately. It doesn't have any effect if pingIntervalMillis is -1 (pinger is disabled).