[Modify] Add it

This commit is contained in:
sta 2020-12-20 21:47:01 +09:00
parent 5daaff6ab7
commit a334aa021f

View File

@ -191,6 +191,14 @@ namespace WebSocketSharp.Net
); );
} }
private void sendAuthenticationChallenge (string challenge)
{
_response.StatusCode = 401;
_response.Headers.InternalSet ("WWW-Authenticate", challenge, true);
_response.Close ();
}
#endregion #endregion
#region Internal Methods #region Internal Methods