bodyToServerSentEvents

Deprecated

Use 'sse().body(publisher)' instead.

Replace with

sse().body(publisher)

Extension for ServerResponse.BodyBuilder.body providing a bodyToServerSentEvents(Publisher<T>) variant. This extension is not subject to type erasure and retains actual generic type arguments.

Author

Sebastien Deleuze

Since

5.0