class Binary : Frame
Represents an application level binary frame. In a RAW web socket session a big text frame could be fragmented (separated into several text frames so they have fin = false except the last one). Note that usually there is no need to handle fragments unless you have a RAW web socket session.
Binary(fin: Boolean, packet: ByteReadPacket)Binary(fin: Boolean, buffer: ByteBuffer)
Represents an application level binary frame. In a RAW web socket session a big text frame could be fragmented (separated into several text frames so they have fin = false except the last one). Note that usually there is no need to handle fragments unless you have a RAW web socket session. |
val buffer: ByteBuffer
|
|
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 |
fun copy(): Frame
Creates a frame copy |
|
open fun toString(): String |