Faraday
Simple, but flexible HTTP client library, with support for multiple backends. (by lostisland)
net-http-persistent
Thread-safe persistent connections with Net::HTTP (by drbrain)
Faraday | net-http-persistent | |
---|---|---|
5 | 2 | |
5,659 | 330 | |
0.4% | - | |
8.0 | 2.0 | |
about 1 month ago | 11 days ago | |
Ruby | Ruby | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Faraday
Posts with mentions or reviews of Faraday.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-22.
-
hash keys to method names
The best starting point is the Faraday Website, with its introduction and explanation Need more details? See the Faraday API Documentation to see how it works internally.
- ElixirのHTTPクライアントでお天気情報を取得したい(2022年)
-
NTLM authentication with Ruby and Faraday
Net::HTTP is good. Even so, how to authenticate with popular gem, for instance Faraday? I started to figure out how to implement the protocol with Faraday 🤔
-
Testing external APIs with Rspec and WebMock
I'm too tied to the implementation. If one day I decide to use Faraday or HTTParty as my HTTP clients instead of Net::HTTP, this test will fail.
net-http-persistent
Posts with mentions or reviews of net-http-persistent.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-14.
-
NTLM authentication with Ruby and Faraday
As the NTLM auth algorithm requires to keep the connection alive, we have to use the gem net-http-persistent. Also we have to use the ruby-ntlm gem because coding/encoding logic is tricky.
-
Turbocharge HTTP requests in Ruby
A quick glance at persistent.rb shows keep-alive support and a configurable pool size. The initial implementation in 3.x had a couple of memory leak issues but in practice I've not seen them on recent versions. Where is this claim based on?
What are some alternatives?
When comparing Faraday and net-http-persistent you can also consider the following projects:
RESTClient - Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.
Http Client - 'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
httparty - :tada: Makes http fun again!
ruby-ntlm - NTLM authentication client for Ruby.
Typhoeus - Typhoeus wraps libcurl in order to make fast and reliable requests.
HTTP - HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
excon - Usable, fast, simple HTTP 1.1 for Ruby
Savon - Heavy metal SOAP client
Http-2 - Pure Ruby implementation of HTTP/2 protocol
Patron - Ruby HTTP client based on libcurl
Sawyer - Secret User Agent of HTTP