C-DEngine 5.105

WebSocketServer..::..Stop Method (CloseStatusCode, String)

Stops receiving the WebSocket connection requests with the specified CloseStatusCode and String.

Namespace:  WebSocketSharp.Server
Assembly:  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.
reason
Type: String
A String that represents the reason for the stop.