layout | title | permalink | hide | top_name | top_link |
---|---|---|---|---|---|
documentation |
Patron Adapter |
/adapters/patron |
true |
Adapters |
./ |
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