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

objectWebSocketMessage

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

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(Encoding)

Reads the message bytes as string using the specified encoding.

GetString()

Reads the message bytes as string using the HTTP request encoding.