Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add faraday-rack adapter #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The following table show the available adapters and which features they support.
| [Typhoeus] | v1 only | ✖️ | ✖️ | ✖️ | ✔️ | ✔️ | ✔️ | ✔️ | ✖️ |
| [HTTP.rb] | ✖️ | ✔️ | ✖️ | ✖️ | ✖️ | ✔️ | ✖️ | ✔️ | ✔️ |
| [httpx] | ✖️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
| [Rack] | v1 only | ✖️ | ? | ? | ? | ✔️ | ? | ✔️ | ? |
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a number of ? entries I do not know the answer to for the rack adapter

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It supports "GET, HEAD, DELETE, TRACE Request Body" and "TRACE Method" 👍
Source: https://github.com/lostisland/faraday-rack/blob/main/spec/faraday/adapter/rack_spec.rb#L4



## Middleware
Expand Down Expand Up @@ -94,3 +95,4 @@ TBC
[Typhoeus]: https://github.com/typhoeus/typhoeus/blob/master/lib/typhoeus/adapters/faraday.rb
[HTTP.rb]: https://github.com/lostisland/faraday-http
[httpx]: https://honeyryderchuck.gitlab.io/httpx/wiki/Faraday-Adapter
[Rack]: https://github.com/lostisland/faraday-rack