mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-06 00:03:36 -04:00
473 B
473 B
Patron Adapter
This Adapter uses the patron gem to make HTTP requests.
conn = Faraday.new(...) do |f|
f.adapter :patron do |session|
# yields Patron::Session
session.max_redirects = 10
end
end