Class WebSocketFrame
- Namespace
- Alis.Core.Network.Internal
- Assembly
- Alis.dll
The web socket frame class
internal class WebSocketFrame
Inheritance
Inherited Members
Constructors
WebSocketFrame(bool, WebSocketOpCode, int, ArraySegment<byte>)
Initializes a new instance of the Alis.Core.Network.Internal.WebSocketFrame class
public WebSocketFrame(bool isFinBitSet, WebSocketOpCode webSocketOpCode, int count, ArraySegment<byte> maskKey)
Parameters
isFinBitSet
bool-
The is fin bit set
webSocketOpCode
WebSocketOpCode-
The web socket op code
count
int-
The count
maskKey
ArraySegment<byte>-
The mask key
WebSocketFrame(bool, WebSocketOpCode, int, WebSocketCloseStatus, string, ArraySegment<byte>)
Initializes a new instance of the Alis.Core.Network.Internal.WebSocketFrame class
public WebSocketFrame(bool isFinBitSet, WebSocketOpCode webSocketOpCode, int count, WebSocketCloseStatus closeStatus, string closeStatusDescription, ArraySegment<byte> maskKey)
Parameters
isFinBitSet
bool-
The is fin bit set
webSocketOpCode
WebSocketOpCode-
The web socket op code
count
int-
The count
closeStatus
WebSocketCloseStatus-
The close status
closeStatusDescription
string-
The close status description
maskKey
ArraySegment<byte>-
The mask key
Properties
CloseStatus
Gets the value of the close status
public WebSocketCloseStatus? CloseStatus { get; }
Property Value
CloseStatusDescription
Gets the value of the close status description
public string CloseStatusDescription { get; }
Property Value
Count
Gets the value of the count
public int Count { get; }
Property Value
IsFinBitSet
Gets the value of the is fin bit set
public bool IsFinBitSet { get; }
Property Value
MaskKey
Gets the value of the mask key
public ArraySegment<byte> MaskKey { get; }
Property Value
OpCode
Gets the value of the op code
public WebSocketOpCode OpCode { get; }