Skip to content

Commit

Permalink
- fixed ENV using sample
Browse files Browse the repository at this point in the history
  • Loading branch information
mumumu committed Oct 1, 2017
1 parent 22f1fb8 commit c709305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample/socks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c709305

Please sign in to comment.