Merge pull request #2092 from kasthack/system-web-stuff-import
[mono.git] / mcs / class / System / System.Net / HttpConnection.cs
index c08d3d58e32b2cebd8b2abcb1f0b953e747c3c56..263bfcd65f78ebb748764e7e9718ae6a2a65b7c4 100644 (file)
@@ -29,7 +29,7 @@
 
 #if SECURITY_DEP
 
-#if MONOTOUCH
+#if MONOTOUCH || MONODROID
 using Mono.Security.Protocol.Tls;
 #else
 extern alias MonoSecurity;
@@ -209,12 +209,6 @@ namespace System.Net {
                        return o_stream;
                }
 
-               internal Stream Hijack ()
-               {
-                       // TODO: disable normal request/response.
-                       return stream;
-               }
-
                static void OnRead (IAsyncResult ares)
                {
                        HttpConnection cnc = (HttpConnection) ares.AsyncState;