[Modify] Edit it

This commit is contained in:
sta 2017-08-05 16:30:07 +09:00
parent 84e2a1ed42
commit 581a03e08d

View File

@ -511,19 +511,33 @@ namespace WebSocketSharp.Server
}
/// <summary>
/// Sends text <paramref name="data"/> asynchronously to every client in
/// the WebSocket service.
/// Sends the specified <paramref name="data"/> asynchronously to
/// every client in the WebSocket service.
/// </summary>
/// <remarks>
/// This method doesn't wait for the send to be complete.
/// This method does not wait for the send to be complete.
/// </remarks>
/// <param name="data">
/// A <see cref="string"/> that represents the text data to send.
/// </param>
/// <param name="completed">
/// An <see cref="Action"/> delegate that references the method(s) called when
/// the send is complete.
/// <para>
/// 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>
/// <exception cref="InvalidOperationException">
/// The current state of the manager is not Start.
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="data"/> is <see langword="null"/>.
/// </exception>
/// <exception cref="ArgumentException">
/// <paramref name="data"/> could not be UTF-8-encoded.
/// </exception>
public void BroadcastAsync (string data, Action completed)
{
if (_state != ServerState.Start) {