[Modify] Edit it

This commit is contained in:
sta 2017-04-03 17:03:38 +09:00
parent d5fa6ad611
commit 66ce1f401b

View File

@ -594,19 +594,32 @@ namespace WebSocketSharp.Server
} }
/// <summary> /// <summary>
/// Sends binary <paramref name="data"/> asynchronously to every client in /// Sends the specified <paramref name="data"/> asynchronously to
/// the WebSocket services. /// every client in the WebSocket services.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// This method doesn't wait for the send to be complete. /// This method does not wait for the send to be complete.
/// </remarks> /// </remarks>
/// <param name="data"> /// <param name="data">
/// An array of <see cref="byte"/> that represents the binary data to send. /// An array of <see cref="byte"/> that represents
/// the binary data to send.
/// </param> /// </param>
/// <param name="completed"> /// <param name="completed">
/// An <see cref="Action"/> delegate that references the method(s) called when /// <para>
/// the send is complete. /// An <see cref="Action"/> delegate or
/// <see langword="null"/> if not needed.
/// </para>
/// <para>
/// That delegate invokes the method called when
/// the send is complete.
/// </para>
/// </param> /// </param>
/// <exception cref="InvalidOperationException">
/// The current state of the manager is not Start.
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="data"/> is <see langword="null"/>.
/// </exception>
public void BroadcastAsync (byte[] data, Action completed) public void BroadcastAsync (byte[] data, Action completed)
{ {
if (_state != ServerState.Start) { if (_state != ServerState.Start) {