mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-04 00:02:03 -04:00
For some reason the docs are not being published for this gem anymore, but they are still reachable when referencing the github path instead.
700 B
700 B
layout | title | permalink | hide | top_name | top_link |
---|---|---|---|---|---|
documentation | Net::HTTP::Persistent Adapter | /adapters/net-http-persistent | true | Adapters | ./ |
This Adapter uses the net-http-persistent gem to make HTTP requests.
conn = Faraday.new(...) do |f|
f.adapter :net_http_persistent, pool_size: 5 do |http|
# yields Net::HTTP::Persistent
http.idle_timeout = 100
end
end