diff --git a/websocket-sharp/Server/WebSocketSessionManager.cs b/websocket-sharp/Server/WebSocketSessionManager.cs index cb20a572..7c1acc92 100644 --- a/websocket-sharp/Server/WebSocketSessionManager.cs +++ b/websocket-sharp/Server/WebSocketSessionManager.cs @@ -561,22 +561,51 @@ 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 service. /// /// - /// 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 to read the binary data to send. /// /// - /// An that represents the number of bytes to send. + /// An that specifies the number of bytes to 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) {