From dc14d57083df109e6c1a99403a9c683cdd7cdf41 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 16 May 2018 19:49:16 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Server/WebSocketBehavior.cs | 31 +++++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/websocket-sharp/Server/WebSocketBehavior.cs b/websocket-sharp/Server/WebSocketBehavior.cs index 74b5d3fa..2a053ffe 100644 --- a/websocket-sharp/Server/WebSocketBehavior.cs +++ b/websocket-sharp/Server/WebSocketBehavior.cs @@ -473,14 +473,33 @@ namespace WebSocketSharp.Server } /// - /// Sends the specified as binary data to the client on a session. + /// Sends the specified file to a client using the WebSocket connection. /// - /// - /// This method is available after the WebSocket connection has been established. - /// - /// - /// A that represents the file to send. + /// + /// + /// A that specifies the file to send. + /// + /// + /// The file is sent as the binary data. + /// /// + /// + /// The current state of the connection is not Open. + /// + /// + /// is . + /// + /// + /// + /// The file does not exist. + /// + /// + /// -or- + /// + /// + /// The file could not be opened. + /// + /// protected void Send (FileInfo fileInfo) { if (_websocket == null) {