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

timeoutMillis

abstract var timeoutMillis: Long

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).