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

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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