Client: csharp
Patch: Jens Geyer
Fix WP7 clients which do not have IWebProxy available.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1340487 13f79535-47bb-0310-9956-
ffa450edef68
private IDictionary<String, String> customHeaders = new Dictionary<string, string>();
- private HttpWebRequest connection = null;
+ private HttpWebRequest connection = null;\r
+#if !SILVERLIGHT
private IWebProxy proxy = WebRequest.DefaultWebProxy;
-
- public THttpClient(Uri u)
+#endif\r
+\r
+ public THttpClient(Uri u)
{
uri = u;
connection = CreateRequest();
}
}
+#if !SILVERLIGHT
public IWebProxy Proxy
{
set
proxy = value;
}
}
+#endif
public override bool IsOpen
{