StuartApp / stuart-client-ruby

Stuart Ruby client
MIT License
0 stars 5 forks source link

Why using Typhoeus ? #1

Open stem opened 6 years ago

stem commented 6 years ago

Hi,

I didn't know about Typhoeus before and as I understand this gem, it's big usage is to make parallel requests, which you don't seem to use.

Would it be OK to remove this dependency and use Net::HTTP instead ?

maximilientyc commented 6 years ago

Hey @stem !

Thank you for your message and sorry for the late reply!

If you prefer using Net::HTTP instead, I suggest you create a new Adapter logic allowing integrators to use Typhoeus or Net::HTTP depending on what they are used to use. If someone want to use another library in the future, then we will have to create a new Adapter.

Best