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
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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