Browse Source

[Modify] Polish it

pull/571/merge
sta 4 months ago
parent
commit
f9c1d61e6b
  1. 2
      websocket-sharp/Server/WebSocketBehavior.cs

2
websocket-sharp/Server/WebSocketBehavior.cs

@ -839,7 +839,7 @@ namespace WebSocketSharp.Server
protected void Close (CloseStatusCode code, string reason)
{
if (_websocket == null) {
var msg = "The session has not started yet.";
var msg = "The Close method is not available.";
throw new InvalidOperationException (msg);
}

Loading…
Cancel
Save