[Modify] Edit it

This commit is contained in:
sta 2017-08-05 16:15:39 +09:00
parent 3d98fd90b7
commit 6c82c9ed64

View File

@ -430,11 +430,21 @@ namespace WebSocketSharp.Server
}
/// <summary>
/// Sends text <paramref name="data"/> to every client in the WebSocket service.
/// Sends the specified <paramref name="data"/> to every client in
/// the WebSocket service.
/// </summary>
/// <param name="data">
/// A <see cref="string"/> that represents the text data to send.
/// </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 Broadcast (string data)
{
if (_state != ServerState.Start) {