Package-level declarations
Functions
Link copied to clipboard
fun HandleReceiver<*>.serverSentEvents(handler: suspend ServerSSESession.() -> Unit): SSEServerContent
Starts a Server-Sent Events stream from within a REST endpoint handler. Sets the required SSE headers and returns the streaming content.