[Modify] Add it

This commit is contained in:
sta 2021-12-16 21:28:30 +09:00
parent 6689101848
commit 2006f56e97

View File

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