diff --git a/websocket-sharp/Server/WebSocketServer.cs b/websocket-sharp/Server/WebSocketServer.cs index 2a13958a..dc6a10fc 100644 --- a/websocket-sharp/Server/WebSocketServer.cs +++ b/websocket-sharp/Server/WebSocketServer.cs @@ -1095,15 +1095,45 @@ namespace WebSocketSharp.Server /// /// Removes a WebSocket service with the specified . /// + /// + /// + /// is converted to a URL-decoded string and + /// / is trimmed from the end of the converted string if any. + /// + /// + /// The service is stopped with close status 1001 (going away) + /// if it has already started. + /// + /// /// /// true if the service is successfully found and removed; /// otherwise, false. /// /// /// A that represents an absolute path to - /// the service. It will be converted to a URL-decoded string, - /// and will be removed '/' from tail end if any. + /// the service to remove. /// + /// + /// is . + /// + /// + /// + /// is empty. + /// + /// + /// -or- + /// + /// + /// is not an absolute path. + /// + /// + /// -or- + /// + /// + /// includes either or both + /// query and fragment components. + /// + /// public bool RemoveWebSocketService (string path) { return _services.RemoveService (path);