Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 653 Bytes

httpclient.md

File metadata and controls

30 lines (25 loc) · 653 Bytes
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

Links