[Modify] Remove it

This commit is contained in:
sta 2020-12-21 21:17:03 +09:00
parent 38dd04a9c1
commit 2d41e3478e

View File

@ -185,14 +185,6 @@ namespace WebSocketSharp
response.OutputStream.Close ();
}
internal static void CloseWithAuthChallenge (
this HttpListenerResponse response, string challenge
)
{
response.Headers.InternalSet ("WWW-Authenticate", challenge, true);
response.Close (HttpStatusCode.Unauthorized);
}
internal static byte[] Compress (this byte[] data, CompressionMethod method)
{
return method == CompressionMethod.Deflate