From 2d41e3478e847499fc32edee2015cbdc35b415b8 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 21 Dec 2020 21:17:03 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Ext.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 027a9b43..b868850f 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -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