Using proxies for NSURLConnection

Is there a way to get the contents of a web file (namely .html Document) using a proxy server that is not defined in the system settings? I know that NSURLConnection is the right way to load a web file into a variable and not into a file (for which we must use NSURLDownload), but I do not find a way to use a proxy server for it. Are there any unofficial APIs, libraries or classes, or can I use what I want to do? I'm not a Mac pro, so I'm looking for something more or less simple.

Sideswipe

+6
objective-c cocoa proxy nsurlconnection
source share
1 answer

NSURL classes will not do this. You need to CFURL down to CFURL . From the mailing list: Re: Can NSURLConnection use a proxy server?

+5
source share

All Articles