README.md in em-http-request-0.2.12 vs README.md in em-http-request-0.2.13

- old
+ new

@@ -7,11 +7,11 @@ - Simple interface for single & parallel requests via deferred callbacks - Automatic gzip & deflate decoding - Basic-Auth & OAuth support - Custom timeout support - Stream response processing -- Proxy support (with SSL Tunneling) +- Proxy support (with SSL Tunneling): CONNECT, direct & SOCKS5 - Auto-follow 3xx redirects with custom max depth - Bi-directional communication with web-socket services - [Native mocking support](http://wiki.github.com/igrigorik/em-http-request/mocking-httprequest) and through [Webmock](http://github.com/bblimke/webmock) Getting started @@ -112,18 +112,28 @@ http.callback { |chunk| puts "Upload finished!" } } Proxy example ------------- - Full transparent proxy support with support for SSL tunneling. EventMachine.run { http = EventMachine::HttpRequest.new('http://www.website.com/').get :proxy => { :host => 'www.myproxy.com', :port => 8080, :authorization => ['username', 'password'] # authorization is optional } + +SOCKS5 Proxy example +------------- +Tunnel your requests via connect via SOCKS5 proxies (ssh -D port somehost). + + EventMachine.run { + http = EventMachine::HttpRequest.new('http://www.website.com/').get :proxy => { + :host => 'www.myproxy.com', + :port => 8080, + :type => :socks + } Auto-follow 3xx redirects ------------------------- Specify the max depth of redirects to follow, default is 0.