mirror of
https://github.com/lostisland/faraday.git
synced 2025-12-15 00:03:17 -05:00
540 B
540 B
| layout | title | permalink | hide |
|---|---|---|---|
| page | Patron Adapter | /adapters/patron | true |
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