• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Implementing HTTP proxy support, if not using NSURLConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Implementing HTTP proxy support, if not using NSURLConnection (From: Jens Alfke <email@hidden>)

  • Prev by Date: Implementing HTTP proxy support, if not using NSURLConnection
  • Next by Date: Re: Reachability on iOS with Wi-Fi AND cellular connected
  • Previous by thread: Implementing HTTP proxy support, if not using NSURLConnection
  • Next by thread: Re: Reachability on iOS with Wi-Fi AND cellular connected
  • Index(es):
    • Date
    • Thread