Skip to content

NSURLProtocol that lets you send NSURLRequests over a proxy server

License

Notifications You must be signed in to change notification settings

echoz/LLHTTPProxyURLProtocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLHTTPProxyURLProtocol

This is a NSURLProtocol subclass that allows NSURLRequests to be sent over a specified proxy. Because it is a NSURLProtocol, regular libraries that make use of NSURLConnection for URL loading should be able to transparently use it.

It will take over URL loading for any NSURLRequest that has set the proxy server address property.

Proxy Support

Currently it supports the following types of proxies (that are available in CFNetwork)

  • Socks 4
  • Socks 5
  • HTTP
  • HTTPS

Proxy auto configuration via a URL will also be eventually supported.

Design Goals

  • Allow transparent usage of NSURLConnection
  • Support http and https URL loading
  • Full support for NSURLAuthenticationChallenge type events

Todo

About

NSURLProtocol that lets you send NSURLRequests over a proxy server

Resources

License

Stars

Watchers

Forks

Packages