HttpServerBoxed 0.0.11 alpha
A simple http server for C# and .NET
|
Public Member Functions | |||
Frame (bool fin=true, bool rsv1=false, bool rsv2=false, bool rsv3=false, Opcode opcode=Opcode.TEXT, bool mask=false) | |||
Use this constructor to create a frame. | |||
Frame (byte[] data) | |||
Use this costructor to decode a frame </summary
| |||
byte[] | Build () | ||
Build the frame. | |||
void | SetOpcode (Opcode opcode) | ||
Set the opcode of the frame. | |||
Opcode | GetOpcode () | ||
Get frame opcode. | |||
void | SetPayload (byte[] payload) | ||
void | SetPayload (string payload) | ||
override string | ToString () | ||
byte[] | GetPayload () | ||
override bool | Equals (object? obj) | ||
bool | GetFIN () | ||
bool | GetRSV1 () | ||
bool | GetRSV2 () | ||
bool | GetRSV3 () | ||
bool | GetMask () | ||
bool[] | GetPayloadLength () | ||
byte?[] | GetExtendedPayloadLength () | ||
byte?[] | GetExtendedPayloadLengthContinued () | ||
override int | GetHashCode () | ||
Frame (bool fin=true, bool rsv1=false, bool rsv2=false, bool rsv3=false, Opcode opcode=Constants.WebSocket.Opcode.TEXT, bool mask=false) | |||
Use this constructor to create a frame. | |||
Frame (byte[] data) | |||
Use this costructor to decode a frame. | |||
byte[] | Build () | ||
Build the frame. | |||
void | SetOpcode (Opcode opcode) | ||
Set the opcode of the frame. | |||
Opcode | GetOpcode () | ||
Get frame opcode. | |||
void | SetPayload (byte[] payload) | ||
void | SetPayload (string payload) | ||
override string | ToString () | ||
byte[] | GetPayload () | ||
override bool | Equals (object? obj) | ||
bool | GetFIN () | ||
bool | GetRSV1 () | ||
bool | GetRSV2 () | ||
bool | GetRSV3 () | ||
bool | GetMask () | ||
bool[] | GetPayloadLength () | ||
byte?[] | GetExtendedPayloadLength () | ||
byte?[] | GetExtendedPayloadLengthContinued () | ||
override int | GetHashCode () | ||
void | Dispose () | ||
HSB.Components.WebSockets.Frame.Frame | ( | bool | fin = true , |
bool | rsv1 = false , |
||
bool | rsv2 = false , |
||
bool | rsv3 = false , |
||
Opcode | opcode = Opcode::TEXT , |
||
bool | mask = false |
||
) |
Use this constructor to create a frame.
fin | |
rsv1 | |
rsv2 | |
rsv3 | |
opcode | |
mask |
Definition at line 31 of file Frame.cs.
HSB.Components.WebSockets.Frame.Frame | ( | byte[] | data | ) |
Use this costructor to decode a frame </summary
data |
Definition at line 53 of file Frame.cs.
HSB.Components.WebSockets.Frame.Frame | ( | bool | fin = true , |
bool | rsv1 = false , |
||
bool | rsv2 = false , |
||
bool | rsv3 = false , |
||
Opcode | opcode = Constants::WebSocket::Opcode::TEXT , |
||
bool | mask = false |
||
) |
Use this constructor to create a frame.
fin | |
rsv1 | |
rsv2 | |
rsv3 | |
opcode | |
mask |
Definition at line 30 of file Frame.cs.
HSB.Components.WebSockets.Frame.Frame | ( | byte[] | data | ) |
Use this costructor to decode a frame.
data |
Definition at line 45 of file Frame.cs.
byte[] HSB.Components.WebSockets.Frame.Build | ( | ) |
Build the frame.
Definition at line 116 of file Frame.cs.
byte[] HSB.Components.WebSockets.Frame.Build | ( | ) |
Build the frame.
Definition at line 102 of file Frame.cs.
void HSB.Components.WebSockets.Frame.Dispose | ( | ) |
Definition at line 323 of file Frame.cs.
override bool HSB.Components.WebSockets.Frame.Equals | ( | object? | obj | ) |
Definition at line 290 of file Frame.cs.
override bool HSB.Components.WebSockets.Frame.Equals | ( | object? | obj | ) |
Definition at line 273 of file Frame.cs.
override int HSB.Components.WebSockets.Frame.GetHashCode | ( | ) |
override int HSB.Components.WebSockets.Frame.GetHashCode | ( | ) |
Opcode HSB.Components.WebSockets.Frame.GetOpcode | ( | ) |
Get frame opcode.
Exception |
Definition at line 189 of file Frame.cs.
Opcode HSB.Components.WebSockets.Frame.GetOpcode | ( | ) |
Get frame opcode.
Exception |
Definition at line 175 of file Frame.cs.
byte[] HSB.Components.WebSockets.Frame.GetPayload | ( | ) |
Definition at line 251 of file Frame.cs.
byte[] HSB.Components.WebSockets.Frame.GetPayload | ( | ) |
Definition at line 237 of file Frame.cs.
void HSB.Components.WebSockets.Frame.SetOpcode | ( | Opcode | opcode | ) |
Set the opcode of the frame.
opcode |
Definition at line 160 of file Frame.cs.
void HSB.Components.WebSockets.Frame.SetOpcode | ( | Opcode | opcode | ) |
Set the opcode of the frame.
opcode |
Definition at line 146 of file Frame.cs.
void HSB.Components.WebSockets.Frame.SetPayload | ( | byte[] | payload | ) |
Definition at line 207 of file Frame.cs.
void HSB.Components.WebSockets.Frame.SetPayload | ( | byte[] | payload | ) |
Definition at line 193 of file Frame.cs.
void HSB.Components.WebSockets.Frame.SetPayload | ( | string | payload | ) |
void HSB.Components.WebSockets.Frame.SetPayload | ( | string | payload | ) |
override string HSB.Components.WebSockets.Frame.ToString | ( | ) |
Definition at line 230 of file Frame.cs.
override string HSB.Components.WebSockets.Frame.ToString | ( | ) |
Definition at line 216 of file Frame.cs.