Re: Implementing HTTP proxy support, if not using NSURLConnection
Re: Implementing HTTP proxy support, if not using NSURLConnection
- Subject: Re: Implementing HTTP proxy support, if not using NSURLConnection
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Fri, 20 Dec 2013 13:54:02 +0000
On 19 Dec 2013, at 22:07, Jens Alfke <email@hidden> wrote:
> I’ve figured out how to get the proxy settings using CFProxySupport.h, but now I don’t know how to apply them. SOCKS support, in particular, sounds like it’s pretty nontrivial.
SOCKS proxy support is implemented at the CFSocketStream level, so you can get that for free.
HTTP proxy support is implemented at the CFHTTPStream level, which is too high for implementing WebSocket. You will have to do this yourself. It's shouldn't be too hard, but you will need to get 'start TLS' working to support HTTPS via CONNECT.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden