Faraday is an HTTP client lib that provides a common interface over many
adapters (such as Net::HTTP) and embraces the concept of Rack middleware when
processing the request/response cycle.
Faraday supports these adapters:
Faraday alternatives and similar gems
Based on the "HTTP" category.
Alternatively, view Faraday alternatives based on common mentions on social networks and blogs.
httparty9.4 4.4 L4 Faraday VS httparty:tada: Makes http fun again!
RESTClient9.3 0.0 L4 Faraday VS RESTClientSimple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.
Typhoeus8.9 3.6 L5 Faraday VS TyphoeusTyphoeus wraps libcurl in order to make fast and reliable requests.
HTTP8.3 5.7 L5 Faraday VS HTTPHTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
Savon8.1 6.2 L5 Faraday VS SavonHeavy metal SOAP client
excon6.6 5.1 L4 Faraday VS exconUsable, fast, simple HTTP 1.1 for Ruby
Http Client6.2 0.0 L2 Faraday VS Http Client'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
Http-25.8 0.0 L4 Faraday VS Http-2Pure Ruby implementation of HTTP/2 protocol
Spyke5.4 1.7 L5 Faraday VS SpykeInteract with REST services in an ActiveRecord-like manner
Patron4.8 5.1 L1 Faraday VS PatronRuby HTTP client based on libcurl
Unirest4.4 0.0 Faraday VS UnirestUnirest in Ruby: Simplified, lightweight HTTP client library.
Sawyer3.6 3.5 L5 Faraday VS SawyerSecret User Agent of HTTP
Flexirest3.6 4.1 Faraday VS FlexirestFlexirest - The really flexible REST API client for Ruby
Net2.9 10.0 Faraday VS NetNet::HTTP provides a rich library which can be used to build HTTP user-agents.
Accept Language1.2 0.0 Faraday VS Accept LanguageRuby parser for Accept-Language request HTTP header 🌐
XSR0.4 0.0 L5 Faraday VS XSRXSR - eXtremely Simple REST client
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Faraday or a related project?
Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle. You probably don't want to use Faraday directly in your project, as it will lack an actual client library to perform requests. Instead, you probably want to have a look at Awesome Faraday for a list of available adapters.
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.
Supported Ruby versions
This library aims to support and is tested against the currently officially supported Ruby implementations. This means that, even without a major release, we could add or drop support for Ruby versions, following their EOL. Currently that means we support Ruby 2.6+
If something doesn't work on one of these Ruby versions, it's a bug.
This library may inadvertently work (or seem to work) on other Ruby implementations and versions, however support will only be provided for the versions listed above.
If you would like this library to support another Ruby version, you may volunteer to be a maintainer. Being a maintainer entails making sure all tests run and pass on that implementation. When something breaks on your implementation, you will be responsible for providing patches in a timely fashion. If critical issues for a particular implementation exist at the time of a major release, support for that Ruby version may be dropped.
Do you want to contribute to Faraday?
Open the issues page and check for the
help wanted label!
But before you start coding, please read our Contributing Guide
© 2009 - 2022, the Faraday Team. Website and branding design by Elena Lo Piccolo.
*Note that all licence references and agreements mentioned in the Faraday README section above are relevant to that project's source code only.