[Modify] Add it
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user