C-DEngine 5.105

HttpServer..::..Stop Method (UInt16, String)

Stops receiving the HTTP requests with the specified UInt16 and String used to stop the WebSocket services.

Namespace:  WebSocketSharp.Server
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void Stop(
	ushort code,
	string reason
)
Public Sub Stop ( _
	code As UShort, _
	reason As String _
)
public:
void Stop(
	unsigned short^ code, 
	String^ reason
)

Parameters

code
Type: UInt16
A UInt16 that represents the status code indicating the reason for the stop.
reason
Type: String
A String that represents the reason for the stop.