[Modify] Edit it
This commit is contained in:
parent
a5eccd5442
commit
b22a230367
@ -558,11 +558,21 @@ namespace WebSocketSharp.Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <param name="data">
|
/// <param name="data">
|
||||||
/// A <see cref="string"/> that represents the text data to send.
|
/// A <see cref="string"/> that represents the text data to send.
|
||||||
/// </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>
|
||||||
|
/// <exception cref="ArgumentException">
|
||||||
|
/// <paramref name="data"/> could not be UTF-8-encoded.
|
||||||
|
/// </exception>
|
||||||
public void Broadcast (string data)
|
public void Broadcast (string data)
|
||||||
{
|
{
|
||||||
if (_state != ServerState.Start) {
|
if (_state != ServerState.Start) {
|
||||||
|
Loading…
Reference in New Issue
Block a user