how can i set proxy to my url request in ios -


i have been trying set proxy request loaded in uiwebview, using asihttprequest not able find solution nothing happens , times out.

the code this:

asihttprequest *request = [[asihttprequest alloc ] initwithurl:url]; [request setvalue:@"user-agent: mozilla/5.0 (ipad; u; cpu os 4_3_2 mac os x; en-us) applewebkit/533.17.9 (khtml, gecko) mobile" forkey:@"useragent"]; [request setproxyhost:@"proxyaddress"]; [request setproxyport:@"myportvalue"]; [request setdelegate:self]; [request startasynchronous]; 

please me find wrong


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -