[Modify] Edit it

This commit is contained in:
sta 2017-04-02 17:43:12 +09:00
parent a5eccd5442
commit b22a230367

View File

@ -558,11 +558,21 @@ namespace WebSocketSharp.Server
}
/// <summary>
/// Sends text <paramref name="data"/> to every client in the WebSocket services.
/// Sends the specified <paramref name="data"/> to
/// every client in the WebSocket services.
/// </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) {