[Modify] Polish it
This commit is contained in:
parent
708cd4e201
commit
11141253f1
@ -707,7 +707,8 @@ namespace WebSocketSharp.Server
|
|||||||
public void BroadcastAsync (byte[] data, Action completed)
|
public void BroadcastAsync (byte[] data, Action completed)
|
||||||
{
|
{
|
||||||
if (_state != ServerState.Start) {
|
if (_state != ServerState.Start) {
|
||||||
var msg = "The current state of the manager is not Start.";
|
var msg = "The current state of the service is not Start.";
|
||||||
|
|
||||||
throw new InvalidOperationException (msg);
|
throw new InvalidOperationException (msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user