SSE
Server-Sent Events (SSE) support plugin. It is required to be installed first before binding any sse endpoints.
To learn more, see specification.
Example:
install(SSE)
install(Routing) {
sse {
send(ServerSentEvent("Hello"))
}
}
Content copied to clipboard