From 421d4cb7f67bec41f19a8ce5ed01a35156671dc6 Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 18 May 2018 19:35:34 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Server/WebSocketBehavior.cs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/websocket-sharp/Server/WebSocketBehavior.cs b/websocket-sharp/Server/WebSocketBehavior.cs index fd675e37..5637c2ee 100644 --- a/websocket-sharp/Server/WebSocketBehavior.cs +++ b/websocket-sharp/Server/WebSocketBehavior.cs @@ -511,14 +511,20 @@ namespace WebSocketSharp.Server } /// - /// Sends text to the client on a session. + /// Sends the specified data to a client using the WebSocket connection. /// - /// - /// This method is available after the WebSocket connection has been established. - /// /// /// A that represents the text data to send. /// + /// + /// The current state of the connection is not Open. + /// + /// + /// is . + /// + /// + /// could not be UTF-8-encoded. + /// protected void Send (string data) { if (_websocket == null) {