Server Sent Events allows for HTTP Client Requests (through a Rest API) to be persisted for Event Streaming as per protocol1.
The SSE Client implements the Event Source JS Interface containing the Server Sent Event API, per protocol2.
It also provides Microsoft's Fetch-based implementation3 for more granular/control options.
With this library you can connect your apps to a Server Sent Events hub.
Effectively, no third parties are required for Server Push/Messaging.
This ODC Asset was migrated by Nuno Dâmaso
1 https://html.spec.whatwg.org/multipage/server-sent-events.html
2 https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events
3 https://github.com/Azure/fetch-event-source
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause)