[Modify] Polish it
This commit is contained in:
parent
a4c482ffde
commit
4e1a19b267
@ -542,7 +542,8 @@ namespace WebSocketSharp.Server
|
|||||||
public void Broadcast (byte[] data)
|
public void Broadcast (byte[] data)
|
||||||
{
|
{
|
||||||
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