From ea19c5d94a207acd98ded0ec1cf72441e0da56f2 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 15 Aug 2017 16:38:45 +0900 Subject: [PATCH] [Modify] Edit it --- .../Server/WebSocketSessionManager.cs | 47 ++++++++++++++++--- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/websocket-sharp/Server/WebSocketSessionManager.cs b/websocket-sharp/Server/WebSocketSessionManager.cs index acde3823..ca40c9ab 100644 --- a/websocket-sharp/Server/WebSocketSessionManager.cs +++ b/websocket-sharp/Server/WebSocketSessionManager.cs @@ -1066,23 +1066,56 @@ namespace WebSocketSharp.Server } /// - /// Sends binary asynchronously to the client on - /// the session with the specified . + /// Sends asynchronously to the client using + /// the specified session. /// /// - /// This method doesn't wait for the send to be complete. + /// This method does not wait for the send to be complete. /// /// /// An array of that represents the binary data to send. /// /// - /// A that represents the ID of the session to find. + /// A that represents the ID of the session. /// /// - /// An Action<bool> delegate that references the method(s) called when - /// the send is complete. A passed to this delegate is true - /// if the send is complete successfully. + /// + /// An Action<bool> delegate or + /// if not needed. + /// + /// + /// That delegate invokes the method called when the send is complete. + /// + /// + /// true is passed to the method if the send has done with + /// no error; otherwise, false. + /// /// + /// + /// + /// is . + /// + /// + /// -or- + /// + /// + /// is . + /// + /// + /// + /// + /// is an empty string. + /// + /// + /// -or- + /// + /// + /// The session could not be found. + /// + /// + /// + /// The current state of the WebSocket connection is not Open. + /// public void SendToAsync (byte[] data, string id, Action completed) { IWebSocketSession session;