layout | title | permalink | hide | top_name | top_link |
---|---|---|---|---|---|
documentation |
HTTPClient Adapter |
/adapters/httpclient |
true |
Adapters |
./ |
This Adapter uses the httpclient gem to make HTTP requests.
conn = Faraday.new(...) do |f|
f.adapter :httpclient do |client|
# yields HTTPClient
client.keep_alive_timeout = 20
client.ssl_config.timeout = 25
end
end