class Ping : Frame
Represents a low-level ping frame. Could be sent to test connection (peer should reply with Pong). Usually there is no need to send/handle it unless you have a RAW web socket session.
Ping(packet: ByteReadPacket) Ping(buffer: ByteBuffer) Ping(data: ByteArray)
Represents a low-level ping frame. Could be sent to test connection (peer should reply with Pong). Usually there is no need to send/handle it unless you have a RAW web socket session. |
val buffer: ByteBuffer
Frame content |
|
val data: ByteArray
|
|
val disposableHandle: DisposableHandle
could be invoked when the frame is processed |
|
val fin: Boolean
is it final fragment, should be always |
|
val frameType: FrameType
enum value |
|
val rsv1: Boolean
First extension bit. |
|
val rsv2: Boolean
Second extension bit. |
|
val rsv3: Boolean
Third extension bit. |
fun copy(): Frame
Creates a frame copy |
|
open fun toString(): String |