C-DEngine 5.105

WebSocketServer..::..RemoveWebSocketService Method

Removes the WebSocket service with the specified path.

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

Syntax


public bool RemoveWebSocketService(
	string path
)
Public Function RemoveWebSocketService ( _
	path As String _
) As Boolean
public:
bool^ RemoveWebSocketService(
	String^ path
)

Parameters

path
Type: String
A String that represents the absolute path to the service to find.

Return Value

true if the service is successfully found and removed; otherwise, false.

Remarks


This method converts path to URL-decoded string, and removes '/' from tail end of path.