public static class Frame.Ping
extends Frame
Represents a low-level ping frame. Could be sent to test connection (peer should reply with class Frame.Pong).
Usually there is no need to send/handle it unless you have a RAW web socket session.
class Frame.PongFrame.Binary, Frame.Close, Frame.Companion, Frame.Ping, Frame.Pong, Frame.Text| Constructor and Description |
|---|
Ping(java.nio.ByteBuffer buffer)
Represents a low-level ping frame. Could be sent to test connection (peer should reply with
class Frame.Pong).
Usually there is no need to send/handle it unless you have a RAW web socket session. |
Ping(kotlinx.io.core.ByteReadPacket packet) |
copy, getBuffer, getDisposableHandle, getFin, getFrameType, toStringpublic Ping(java.nio.ByteBuffer buffer)
Represents a low-level ping frame. Could be sent to test connection (peer should reply with class Frame.Pong).
Usually there is no need to send/handle it unless you have a RAW web socket session.
class Frame.Pongpublic Ping(kotlinx.io.core.ByteReadPacket packet)