aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable/Ext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SocketHttpListener.Portable/Ext.cs')
-rw-r--r--SocketHttpListener.Portable/Ext.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/SocketHttpListener.Portable/Ext.cs b/SocketHttpListener.Portable/Ext.cs
index 303263d0b..87f0887ed 100644
--- a/SocketHttpListener.Portable/Ext.cs
+++ b/SocketHttpListener.Portable/Ext.cs
@@ -168,12 +168,6 @@ namespace SocketHttpListener
: null;
}
- internal static void Close(this HttpListenerResponse response, HttpStatusCode code)
- {
- response.StatusCode = (int)code;
- response.OutputStream.Dispose();
- }
-
internal static Stream Compress(this Stream stream, CompressionMethod method)
{
return method == CompressionMethod.Deflate