onPing

fun onPing(bytes: ByteArray): ChannelResult<Unit>(source)

Sends a WebSocketFrame.Ping frame to the incomingFrames flow.

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