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

Provide more ways to stream through ServerResponse for WebMvc functional endpoints #32710

Open
rstoyanchev opened this issue Apr 25, 2024 · 0 comments
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

rstoyanchev commented Apr 25, 2024

Currently it's possible to stream SSE events via ServerResponse.sse(Consumer<SseBuilder>), but no way to stream in any other format, comparable to the ResponseBodyEmitter base class of SseEmitter for annotated controller methods.

For extra context, the GraphQL spec is finalizing an incremental delivery feature that prioritizes some parts of the response data and sends them before others. Over HTTP this is expected to be a "mixed/multipart" stream.

@rstoyanchev rstoyanchev added the type: enhancement A general enhancement label Apr 25, 2024
@rstoyanchev rstoyanchev added this to the 6.2.x milestone Apr 25, 2024
@jhoeller jhoeller added the in: web Issues in web modules (web, webmvc, webflux, websocket) label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants