[Modify] Add it
This commit is contained in:
parent
5daaff6ab7
commit
a334aa021f
@ -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
|
||||
|
||||
#region Internal Methods
|
||||
|
Loading…
Reference in New Issue
Block a user