EGDL2 2.1
|
Contains the event data associated with a WebSocket.OnClose event. More...
Inherits EventArgs.
Properties | |
ushort | Code [get] |
Gets the status code for the close. | |
string | Reason [get] |
Gets the reason for the close. | |
bool | WasClean [get, set] |
Gets a value indicating whether the WebSocket connection has been closed cleanly. | |
Contains the event data associated with a WebSocket.OnClose event.
A WebSocket.OnClose event occurs when the WebSocket connection has been closed. If you would like to get the reason for the close, you should access the Code or Reason property.
|
get |
Gets the status code for the close.
A ushort that represents the status code for the close if any.
|
get |
Gets the reason for the close.
A string that represents the reason for the close if any.
|
getset |
Gets a value indicating whether the WebSocket connection has been closed cleanly.
true
if the WebSocket connection has been closed cleanly; otherwise, false
.