Sisk

Class

WebSocketMessage

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

Represents an websocket request message received by an websocket server.

C#
public sealed class WebSocketMessage

Inheritance #

object ← WebSocketMessage

Inherited Members #

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

Properties #

NameDescription
LengthGets the message length in byte count.
MessageBytesGets an byte array with the message contents.
SenderGets the sender HttpWebSocket object instance which received this message.

Methods #

NameDescription
GetString(Encoding)Reads the message bytes as string using the specified encoding.
GetString()Reads the message bytes as string using the HTTP request encoding.

Type to search the documentation and the API reference.