mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-06 00:03:36 -04:00
* more prominent placing of test adapter * remove next/prev navigation for adapter pages, they don't need to be read in order * ensure all adapter pages link to top nav
581 B
581 B
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