From 9aa88c44f831d305ef970652da1805b797d159ac Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 13 Aug 2017 15:33:51 +0900 Subject: [PATCH] [Modify] Edit it --- .../Server/WebSocketSessionManager.cs | 36 +++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/websocket-sharp/Server/WebSocketSessionManager.cs b/websocket-sharp/Server/WebSocketSessionManager.cs index 84ca6989..0f05ab47 100644 --- a/websocket-sharp/Server/WebSocketSessionManager.cs +++ b/websocket-sharp/Server/WebSocketSessionManager.cs @@ -1012,15 +1012,45 @@ namespace WebSocketSharp.Server } /// - /// Sends text to the client on the session with - /// the specified . + /// Sends to the client using the specified session. /// /// /// A that represents the text data to send. /// /// - /// A that represents the ID of the session to find. + /// A that represents the ID of the session. /// + /// + /// + /// is . + /// + /// + /// -or- + /// + /// + /// is . + /// + /// + /// + /// + /// is an empty string. + /// + /// + /// -or- + /// + /// + /// The session could not be found. + /// + /// + /// -or- + /// + /// + /// could not be UTF-8-encoded. + /// + /// + /// + /// The current state of the WebSocket connection is not Open. + /// public void SendTo (string data, string id) { IWebSocketSession session;