diff --git a/websocket-sharp/Server/HttpServer.cs b/websocket-sharp/Server/HttpServer.cs index c5dc45d3..4d7d083f 100644 --- a/websocket-sharp/Server/HttpServer.cs +++ b/websocket-sharp/Server/HttpServer.cs @@ -1124,20 +1124,53 @@ namespace WebSocketSharp.Server } /// - /// Adds a WebSocket service with the specified behavior and . + /// Adds a WebSocket service with the specified behavior and + /// . /// /// - /// This method converts to URL-decoded string, - /// and removes '/' from tail end of . + /// is converted to a URL-decoded string and + /// '/' is trimmed from the end of the converted string if any. /// /// - /// A that represents the absolute path to the service to add. + /// A that represents an absolute path to + /// the service to add. /// /// - /// The type of the behavior of the service to add. The TBehaviorWithNew must inherit - /// the class, and must have a public parameterless - /// constructor. + /// + /// The type of the behavior for the service. + /// + /// + /// It must inherit the class and + /// must have a public parameterless constructor. + /// /// + /// + /// is . + /// + /// + /// + /// is an empty string. + /// + /// + /// -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 () {