Class WebSocketFrame
WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
public sealed class WebSocketFrame
- Inheritance
-
WebSocketFrame
- Inherited Members
Properties
Mask
WebSocket message mask.
[JsonPropertyName("mask")]
public bool Mask { get; set; }
Property Value
Opcode
WebSocket message opcode.
[JsonPropertyName("opcode")]
public double Opcode { get; set; }
Property Value
PayloadData
WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.
[JsonPropertyName("payloadData")]
public string PayloadData { get; set; }