#if SECURITY_DEP
-#if MONOTOUCH
+#if MONOTOUCH || MONODROID
using Mono.Security.Protocol.Tls;
#else
extern alias MonoSecurity;
return o_stream;
}
- internal Socket Hijack ()
- {
- // TODO: disable normal request/response.
- RemoveConnection ();
- var s = sock;
- sock = null;
- o_stream = null;
- return s;
- }
-
static void OnRead (IAsyncResult ares)
{
HttpConnection cnc = (HttpConnection) ares.AsyncState;