ZuoAndroid / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Support http proxy #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Pretty simple:

DefaultHttpClient httpclient = new DefaultHttpClient();

HttpHost proxy = new HttpHost("someproxy", 8080);
httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);

callback.proxy(String host, int port);

AjaxCallback<T>.setProxy(String host, int port);

Would be amazing :)

Original issue reported on code.google.com by tinyeeliu@gmail.com on 21 Jun 2012 at 3:39

GoogleCodeExporter commented 8 years ago
Added proxy setting to AjaxCallback.

Original comment by tinyeeliu@gmail.com on 23 Jun 2012 at 1:43