ktor-http-cio / io.ktor.http.cio.websocket / ponger

ponger

fun ponger(session: WebSocketSession, pool: ObjectPool<ByteBuffer> = KtorDefaultPool): SendChannel<Ping>
Deprecated: Use ponger with CoroutineScope receiver

Launch a ponger actor job on the coroutineContext for websocket session. It is acting for every client's ping frame and replying with corresponding pong