Lean
$LEAN_TAG$
|
Defines data returned from a web socket close event More...
Public Member Functions | |
WebSocketCloseData (ushort code, string reason, bool wasClean) | |
Initializes a new instance of the WebSocketCloseData class More... | |
Properties | |
ushort | Code [get] |
Gets the status code for the connection close. More... | |
string | Reason [get] |
Gets the reason for the connection close. More... | |
bool | WasClean [get] |
Gets a value indicating whether the connection has been closed cleanly. More... | |
Defines data returned from a web socket close event
Definition at line 21 of file WebSocketCloseData.cs.
QuantConnect.Brokerages.WebSocketCloseData.WebSocketCloseData | ( | ushort | code, |
string | reason, | ||
bool | wasClean | ||
) |
Initializes a new instance of the WebSocketCloseData class
code | The status code for the connection close |
reason | The reaspn for the connection close |
wasClean | True if the connection has been closed cleanly, false otherwise |
Definition at line 44 of file WebSocketCloseData.cs.
|
get |
Gets the status code for the connection close.
Definition at line 26 of file WebSocketCloseData.cs.
|
get |
Gets the reason for the connection close.
Definition at line 31 of file WebSocketCloseData.cs.
|
get |
Gets a value indicating whether the connection has been closed cleanly.
Definition at line 36 of file WebSocketCloseData.cs.