CloseEventArgs Class |
Namespace: Sfs2X.WebSocketSharp
public class CloseEventArgs : EventArgs
The CloseEventArgs type exposes the following members.
Name | Description | |
---|---|---|
Code |
Gets the status code for the close.
| |
Reason |
Gets the reason for the close.
| |
WasClean |
Gets a value indicating whether the connection has been closed cleanly.
|
That 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.