Skip to content

Support for non-blocking HTTP requests #249

@lfrestrepog

Description

@lfrestrepog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions