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

processOutgoingFrame

abstract fun processOutgoingFrame(frame: Frame): Frame

This method is called on each outgoing frame and handle it before sending.