Search code examples
ruby-on-railsrubytorsockstorsocks

How can modify HTTParty gem for using Net::HTTP.SOCKSProxy


I want to be able to make requests with HTTParty via the tor. This functionality isn't yet available in HTTParty gem. How can I change modify it to do requests in combination with Net::HTTP.SOCKSProxy


Solution

  • You could use another gem such as excon this gem support http proxy