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. 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+. You can also install the faraday_middleware extension gem to access a collection of useful Faraday middleware.

Features

  • This library aims to support and is tested against the currently officially supported Ruby implementations
  • This library may inadvertently work (or seem to work) on other Ruby implementations and versions
  • Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters
  • Faraday supports HTTP verbs that typically don’t include a request body
  • You can specify URI query parameters and HTTP headers when making a request
  • Faraday will automatically convert key/value hashes into proper form bodies

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Faraday

Faraday Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Faraday!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby HTTP Servers, Ruby Libraries, Ruby HTTP Clients

Registered

2021-10-26