class Close : Frame
Represents a low-level level close frame. It could be sent to indicate web socket session end. Usually there is no need to send/handle it unless you have a RAW web socket session.
Close(reason: CloseReason)Close(packet: ByteReadPacket)Close()Close(buffer: ByteBuffer)
Represents a low-level level close frame. It could be sent to indicate web socket session end. Usually there is no need to send/handle it 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 |
fun Close.readReason(): CloseReason?
Read close reason from close frame or null if no close reason provided |