ktor-websockets / io.ktor.http.cio.websocket / pingInterval

pingInterval

inline var DefaultWebSocketServerSession.pingInterval: Duration?

Ping interval or null to disable pinger. Please note that pongs will be handled despite of this setting.

inline val WebSockets.pingInterval: Duration?