[Modify] Add it

This commit is contained in:
sta 2021-12-14 20:01:30 +09:00
parent e188dc3980
commit 6760f3237e

View File

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