From 95fffb98985a3e8741fce2490342c69fa9166df7 Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 10 Mar 2017 17:36:41 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Server/WebSocketServer.cs | 42 +++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Server/WebSocketServer.cs b/websocket-sharp/Server/WebSocketServer.cs index 290d48b0..9e8ab16c 100644 --- a/websocket-sharp/Server/WebSocketServer.cs +++ b/websocket-sharp/Server/WebSocketServer.cs @@ -1032,10 +1032,13 @@ namespace WebSocketSharp.Server /// Adds a WebSocket service with the specified behavior, /// , and . /// + /// + /// is converted to a URL-decoded string and + /// / is trimmed from the end of the converted string if any. + /// /// /// 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 add. /// /// /// A Func<TBehavior> delegate that invokes @@ -1047,6 +1050,41 @@ namespace WebSocketSharp.Server /// The type of the behavior for the service. It must inherit /// the class. /// + /// + /// + /// is . + /// + /// + /// -or- + /// + /// + /// is . + /// + /// + /// + /// + /// is empty. + /// + /// + /// -or- + /// + /// + /// is not an absolute path. + /// + /// + /// -or- + /// + /// + /// includes either or both + /// query and fragment components. + /// + /// + /// -or- + /// + /// + /// is already in use. + /// + /// public void AddWebSocketService ( string path, Func creator )