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
685 B
685 B
layout | title | permalink | hide | top_name | top_link |
---|---|---|---|---|---|
documentation | Net::HTTP Adapter | /adapters/net-http | true | Adapters | ./ |
This Adapter uses the Net::HTTP
client from the Ruby standard library to make
HTTP requests.
conn = Faraday.new(...) do |f|
f.adapter :net_http do |http|
# yields Net::HTTP
http.idle_timeout = 100
http.verify_callback = lambda do |preverify, cert_store|
# do something here...
end
end
end