We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2904c08 commit a4c482fCopy full SHA for a4c482f
websocket-sharp/Server/WebSocketSessionManager.cs
@@ -392,25 +392,6 @@ private bool canSet ()
392
return _state == ServerState.Ready || _state == ServerState.Stop;
393
}
394
395
- private bool canSet (out string message)
396
- {
397
- message = null;
398
-
399
- if (_state == ServerState.Start) {
400
- message = "The service has already started.";
401
402
- return false;
403
- }
404
405
- if (_state == ServerState.ShuttingDown) {
406
- message = "The service is shutting down.";
407
408
409
410
411
- return true;
412
413
414
private static string createID ()
415
{
416
return Guid.NewGuid ().ToString ("N");
0 commit comments