Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using a proxy for NSURLConnection

Is there any way to get the content of a webfile (namely a .html Document) using a proxy, which is not defined in the system settings? I know that NSURLConnection is the right way to download a web file into a variable and not into a file (for which we should use NSURLDownload), but I don't find a way to use a proxy for it. Are there some unofficial APIs, Libraries or Classes or such I could use for what I want to do? I'm not that pro in Mac Programming, so I'm searching for something more or less simple.

SideSwipe

like image 480
SideSwipe Avatar asked May 05 '10 19:05

SideSwipe


1 Answers

NSURL classes wont do this. You need to drop down to CFURL. From mailing list: Re: Can NSURLConnection use Proxy Server?

like image 73
catsby Avatar answered Oct 15 '22 17:10

catsby