enum WebSocketOpcode
source · line 6public
public enum WebSocketOpcode
The data or control operation encoded by a WebSocket frame.
variant Continuation
source · line 10public
Continuation
Continues an already-started fragmented data message.
variant Text
source · line 14public
Text
Starts a UTF-8 text message.
variant Close
source · line 22public
Close
Carries the connection close status and reason.
variant Pong
source · line 30public
Pong
Carries a pong control payload.
variant Binary
source · line 18public
Binary
Starts a binary message.
variant Ping
source · line 26public
Ping
Carries a ping control payload.
function equals
source · line 6publiccompiler-derived
operator fun equals(other: WebSocketOpcode): Boolean
This derived operation is available when each field or payload type supports same-type equality.