Browse Source

[Modify] Polish it

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

2
websocket-sharp/Server/WebSocketBehavior.cs

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

Loading…
Cancel
Save