Is there a way to have a SSE endpoint?
See original GitHub issueHi, I was wondering if there is currently a good way to implement SSE using oak? I tried various hacky things like writing directly to ctx.request.serverRequest.w
but it does not feel right.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
What is Server-Sent Events (SSE) and how to implement it?
Server sent events(SSE) is a pushing technology that enables pushing notification/message/events from the server to the client(s) via HTTP connection.
Read more >Using server-sent events - Web APIs | MDN
The server-side script that sends events needs to respond using the MIME type text/event-stream . Each notification is sent as a block of...
Read more >What Server-Sent Events is - and how and when to implement it
This article explores what server-sent events (SSE) is, how it works, when to use it, and key considerations and challenges to be aware...
Read more >How to Build Real-Time Notification Service Using Server ...
The simplest implementation of the SSE endpoint in Spring can be achieved by: Specifying the produced media type as text/event-stream,; Returning Flux type, ......
Read more >Server-Sent Events in Spring - Baeldung
To create an SSE streaming endpoint, we'll have to follow the W3C specifications and designate its MIME type as text/event-stream:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, the feature is there, including an example and documentation. Basically:
I have the code done, I am just writing tests.