onPong

fun onPong(bytes: ByteArray): ChannelResult<Unit>

Sends a WebSocketFrame.Pong frame to the incomingFrames flow.

The given bytes array is used as-is in the frame and thus must not be modified later.

Sources

Link copied to clipboard