WebSocketServer..::..Stop Method (CloseStatusCode, String)
Stops receiving the WebSocket connection requests with
the specified CloseStatusCode and String.
Namespace:
WebSocketSharp.ServerAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void Stop( CloseStatusCode code, string reason )
Public Sub Stop ( _ code As CloseStatusCode, _ reason As String _ )
public: void Stop( CloseStatusCode^ code, String^ reason )
Parameters
- code
- Type: WebSocketSharp..::..CloseStatusCode
One of the CloseStatusCode enum values, represents the status code indicating the reason for the stop.