ktor-http-cio / io.ktor.http.cio.websocket / WebSocketExtension / processIncomingFrame

processIncomingFrame

abstract fun processIncomingFrame(frame: Frame): Frame

This method is called on each incoming frame before handling it in WebSocket session.