[Modify] Add it

This commit is contained in:
sta 2021-12-31 17:09:24 +09:00
parent 3e91b11670
commit ef75faf763

View File

@ -808,6 +808,11 @@ namespace WebSocketSharp.Server
_state = ServerState.Stop;
}
private bool canSet ()
{
return _state == ServerState.Ready || _state == ServerState.Stop;
}
private bool canSet (out string message)
{
message = null;