diff --git a/sample/socks.rb b/sample/socks.rb index cb2ccf60..5ebbd467 100644 --- a/sample/socks.rb +++ b/sample/socks.rb @@ -6,8 +6,8 @@ #clnt = HTTPClient.new('socks5://localhost:9999') #clnt = HTTPClient.new('socks5://username:password@localhost:9999') -#socks_proxy = ENV['SOCKS_PROXY'] -#clnt = HTTPClient.new(socks_proxy) +#ENV['SOCKS_PROXY'] = 'socks5://localhost:9999' +#clnt = HTTPClient.new target = 'http://www.example.com/' puts clnt.get(target).content