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