WebSocketFrame

data class WebSocketFrame(opcode: Double, mask: Boolean, payloadData: String)

WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.

Constructors

WebSocketFrame
Link copied to clipboard
fun WebSocketFrame(opcode: Double, mask: Boolean, payloadData: String)

Properties

mask
Link copied to clipboard
val mask: Boolean
WebSocket message mask.
opcode
Link copied to clipboard
val opcode: Double
WebSocket message opcode.
payloadData
Link copied to clipboard
val payloadData: String
WebSocket message payload data.

Sources

jvm source
Link copied to clipboard