[Modify] Add it

This commit is contained in:
sta 2021-11-08 21:09:05 +09:00
parent bcfae8122f
commit 32889bd503

View File

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