WebSocket..::..CloseAsync Method (CloseStatusCode)
Closes the WebSocket connection asynchronously with the specified
CloseStatusCode, and releases all associated resources.
Namespace:
WebSocketSharpAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void CloseAsync( CloseStatusCode code )
Public Sub CloseAsync ( _ code As CloseStatusCode _ )
public: void CloseAsync( CloseStatusCode^ code )
Parameters
- code
- Type: WebSocketSharp..::..CloseStatusCode
One of the CloseStatusCode enum values, represents the status code indicating the reason for the close.