From 8a04234df4b59113398e7c41959b326df2383d70 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 5 Apr 2017 16:04:31 +0900 Subject: [PATCH] [Modify] Edit it --- .../Server/WebSocketServiceManager.cs | 43 ++++++++++++++++--- 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/websocket-sharp/Server/WebSocketServiceManager.cs b/websocket-sharp/Server/WebSocketServiceManager.cs index 78cedb1c..41a45d4b 100644 --- a/websocket-sharp/Server/WebSocketServiceManager.cs +++ b/websocket-sharp/Server/WebSocketServiceManager.cs @@ -686,22 +686,53 @@ namespace WebSocketSharp.Server } /// - /// Sends binary data from the specified asynchronously to + /// Sends the specified of data from + /// the specified asynchronously to /// every client in the WebSocket services. /// /// - /// This method doesn't wait for the send to be complete. + /// This method does not wait for the send to be complete. /// /// - /// A from which contains the binary data to send. + /// A from which reads the binary data to send. /// /// - /// An that represents the number of bytes to send. + /// An that specifies the number of bytes to + /// read and send. /// /// - /// An delegate that references the method(s) called when - /// the send is complete. + /// + /// An delegate or + /// if not needed. + /// + /// + /// That delegate invokes the method called when + /// the send is complete. + /// /// + /// + /// The current state of the manager is not Start. + /// + /// + /// is . + /// + /// + /// + /// cannot be read. + /// + /// + /// -or- + /// + /// + /// is less than 1. + /// + /// + /// -or- + /// + /// + /// No data could be read from . + /// + /// public void BroadcastAsync (Stream stream, int length, Action completed) { if (_state != ServerState.Start) {