[Modify] Remove it

This commit is contained in:
sta 2021-11-09 19:41:02 +09:00
parent 2904c087a2
commit a4c482ffde

View File

@ -392,25 +392,6 @@ namespace WebSocketSharp.Server
return _state == ServerState.Ready || _state == ServerState.Stop; return _state == ServerState.Ready || _state == ServerState.Stop;
} }
private bool canSet (out string message)
{
message = null;
if (_state == ServerState.Start) {
message = "The service has already started.";
return false;
}
if (_state == ServerState.ShuttingDown) {
message = "The service is shutting down.";
return false;
}
return true;
}
private static string createID () private static string createID ()
{ {
return Guid.NewGuid ().ToString ("N"); return Guid.NewGuid ().ToString ("N");