Class WebSocketMessage
Represents an websocket request message received by an websocket server.
public sealed class WebSocketMessage
- Inheritance
-
WebSocketMessage
- Inherited Members
Properties
- IsClose
Gets an boolean indicating that this message is an remote closing message.
- IsEnd
Gets an boolean indicating that this message is the last chunk of the message.
- Length
Gets the message length in byte count.
- MessageBytes
Gets an byte array with the message contents.
- Sender
Gets the sender HttpWebSocket object instance which received this message.
Methods
- GetString()
Reads the message bytes as string using the HTTP request encoding.
- GetString(Encoding)
Reads the message bytes as string using the specified encoding.