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

use httpx as the client backend #123

Open
HoneyryderChuck opened this issue Dec 30, 2022 · 0 comments
Open

use httpx as the client backend #123

HoneyryderChuck opened this issue Dec 30, 2022 · 0 comments

Comments

@HoneyryderChuck
Copy link

👋 I'd like to propose switching the HTTP backend to using httpx.

I was having a look at the outstanding issues, and it seems that most of them are related to error handling, the async API, and net-http2 lack of support for jruby. From a first look evaluation, I think that httpx could help fixing them: first, it supports jruby. It supports sending concurrent requests without relying on callbacks, which would replace the not obvious async API ans simplify the use case. Moreover, it can provide alternative ways of exposing errors without relying on callbacks.

It's also thread-safe, so you wouldn't need to support an alternative path based on connection-pool to enable it.

LMK what you think, I can help with implementing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant