[Modify] Polish it
This commit is contained in:
parent
6592660672
commit
63805dfdce
@ -861,6 +861,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