Table of Contents

Class WebSocketMessage

Namespace
Sisk.Core.Http.Streams
Assembly
Sisk.Core.dll

Represents an websocket request message received by an websocket server.

public sealed class WebSocketMessage
Inheritance
WebSocketMessage
Inherited Members

Properties

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.