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 server sent events (SSE) with Reactive/Flow #32

Open
kdavisk6 opened this issue May 16, 2019 · 0 comments
Open

Support server sent events (SSE) with Reactive/Flow #32

kdavisk6 opened this issue May 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@kdavisk6
Copy link
Member

Similar to #19, Server Sent Events are a one-way push style execution mode that FeignX should consider supporting. This can be accomplished easily if we have support reactive streams, but we should also consider provided support that does not rely on reactive streams or Flow.

One possibility is to provide a specific ResponseDecoder that can process responses with the content type of text/event-stream and push all decoded responses to a java.util.Queue. I suspect that there are more interesting and clever ways of accomplishing this, but I think that having something user's can take advantage of out of the box would be useful.

@kdavisk6 kdavisk6 added the enhancement New feature or request label May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant