Support Flux<ServerSentEvent<Fragment>>
in WebFlux
#33975
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
In Spring 6.2 we got a new WebFlux feature with
Fragment
and you can render an SSE like this:The only potential problem is that it doen't give you control over the SSE fields (in particular the "event" name which is unconditionaly rendered as the view name). If we could send
Flux<ServerSentEvent<Fragment>>
it would give us more control.Same for MVC, but I think that might already be supported (
Flux<ServerSentEvent<ModelAndView>>
)?The text was updated successfully, but these errors were encountered: