public static class Frame.Close
extends 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.
Frame.Binary, Frame.Close, Frame.Companion, Frame.Ping, Frame.Pong, Frame.Text| Constructor and Description |
|---|
Close(java.nio.ByteBuffer buffer)
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(CloseReason reason) |
Close(kotlinx.io.core.ByteReadPacket packet) |
Close() |
copy, getBuffer, getDisposableHandle, getFin, getFrameType, toStringpublic Close(java.nio.ByteBuffer buffer)
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.
public Close(CloseReason reason)
public Close(kotlinx.io.core.ByteReadPacket packet)
public Close()