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

Support for non-blocking HTTP requests #249

Open
lfrestrepog opened this issue Jan 11, 2022 · 0 comments
Open

Support for non-blocking HTTP requests #249

lfrestrepog opened this issue Jan 11, 2022 · 0 comments

Comments

@lfrestrepog
Copy link

Hello.

Just wondering, are there any plans to support non-blocking HTTP requests? It would be very interesting to have an async API, and the possibility of integrating with reactive applications.

It doesn't seem to be an easy change, specially considering we don't have external dependencies, but maybe if we targeted java 11 it should be possible to use the HttpClient class (although it would require an important refactoring of the Rest class, and maybe others, I'm not too familiar with the code base), which supports both synchronous and asynchronous interaction modes.

But, then I don't know how important it is to support java 8 (I believe it's still widely used in enterprise applications).

Please share your thoughts about this.

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