[Modify] Polish it
This commit is contained in:
parent
7fd2a2acbb
commit
9d035733f0
@ -1179,6 +1179,7 @@ namespace WebSocketSharp.Server
|
|||||||
{
|
{
|
||||||
if (_websocket == null) {
|
if (_websocket == null) {
|
||||||
var msg = "The current state of the connection is not Open.";
|
var msg = "The current state of the connection is not Open.";
|
||||||
|
|
||||||
throw new InvalidOperationException (msg);
|
throw new InvalidOperationException (msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user