processOutgoingFrame

fun processOutgoingFrame(frame: Frame): Frame

Overrides WebSocketExtension.processOutgoingFrame

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