From af04ac1240ead3c56e868e24fb852f42deee6918 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 8 Mar 2017 16:09:58 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Server/WebSocketServer.cs | 36 +++++++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/websocket-sharp/Server/WebSocketServer.cs b/websocket-sharp/Server/WebSocketServer.cs index b800c9f6..85f6e758 100644 --- a/websocket-sharp/Server/WebSocketServer.cs +++ b/websocket-sharp/Server/WebSocketServer.cs @@ -1070,16 +1070,46 @@ 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. /// /// /// The type of the behavior for the service. It must inherit - /// the class, and must have + /// the class and it must have /// a public parameterless constructor. /// + /// + /// 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) where TBehaviorWithNew : WebSocketBehavior, new () {