Replies: 3 comments 1 reply
-
What is your use case for server sent events that isn't met by websockets? I'm not opposed to building sse support but I want to understand the use case |
Beta Was this translation helpful? Give feedback.
-
My personal use-case for SSE is to use it as a read-only notification stream for clients. I'm working on an IndieAuth server and being able to have a CSR app that can listen to a stream of info would be nice. This is definitely doable with WebSockets - one constraint is that this kind of thing is limited if it's not working over HTTP/2 (open connections issue) |
Beta Was this translation helpful? Give feedback.
-
trillium-sse now exists with support for stream-based server-sent events |
Beta Was this translation helpful? Give feedback.
-
Please provide support for Server Sent Events (SSE)
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events
Beta Was this translation helpful? Give feedback.
All reactions