From 3bb74b8a6911fcb6d8d2b0ac54ab7e7817eebcac Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 17 Mar 2017 18:24:28 +0900 Subject: [PATCH] [Modify] Edit it --- .../Server/WebSocketServiceManager.cs | 33 ++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/websocket-sharp/Server/WebSocketServiceManager.cs b/websocket-sharp/Server/WebSocketServiceManager.cs index e9337f0c..644c6cc7 100644 --- a/websocket-sharp/Server/WebSocketServiceManager.cs +++ b/websocket-sharp/Server/WebSocketServiceManager.cs @@ -752,22 +752,47 @@ namespace WebSocketSharp.Server } /// - /// Tries to get the WebSocket service host with - /// the specified . + /// Tries to get the WebSocket service host with the specified + /// . /// + /// + /// is converted to a URL-decoded string and + /// / is trimmed from the end of the converted string if any. + /// /// /// true if the service is successfully found; /// otherwise, false. /// /// - /// A that represents the absolute path to + /// A that represents an absolute path to /// the service to find. /// /// /// When this method returns, a /// instance that provides the access to the information in - /// the service or if it is not found. + /// the service or if not found. /// + /// + /// is . + /// + /// + /// + /// is empty. + /// + /// + /// -or- + /// + /// + /// is not an absolute path. + /// + /// + /// -or- + /// + /// + /// includes either or both + /// query and fragment components. + /// + /// public bool TryGetServiceHost (string path, out WebSocketServiceHost host) { if (path == null)