From 767d2acb0f1e5cc3e9b7666e81619c0a127c8d25 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 7 Mar 2017 16:12:17 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Server/WebSocketServer.cs | 34 +++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) 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);