[Modify] Edit it
This commit is contained in:
parent
a5eccd5442
commit
b22a230367
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user