sse-server-event-hub-and-client
Reactive icon

SSE Push Event Hub and Client

Stable version 1.0.5 (Compatible with OutSystems 11)
Published on 30 Jan by 
5.0
 (7 ratings)
sse-server-event-hub-and-client

SSE Push Event Hub and Client

Details
Push Event Hub and Client Listener for Server-Sent Events (SSE) push streams. *No third parties are required for Server Push/Messaging*
Read more

The SSE Server Hub allows for HTTP Client Requests (through a Rest Expose API) to be persisted for Event Streaming as per protocol1. This is accomplished by switching the mime-type response to the appropriate text/event-stream and flushing the messages complying to the event source format2.

The SSE Client implements the Event Source JS Interface containing the Server Sent Event API, also per protocol3.

Effectively, no third parties are required for Server Push/Messaging.

Please refer to the Documentation tab for further details.

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://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events

What’s new (1.0.5)

Fixed an issue that prevented the SSE Hub to gracefully disconnect a client, logging a rest error on service center

Reviews (4)
23 May
in version 1.0.5
Great component - VERY easy to use - for Server Sent Events (SSE).
Real-time screen/data/dashboard updates without using 3rd party services like Firebase.
2021-12-24
in version 1.0.4
Great component, Realtime communication without using 3rd party services. Curious to see more (example) components based on this!
2021-11-18
in version 1.0.4
Impressive component, simple to use, easy to follow instructions. This is my GO-TO component whenever I need real-time communications in my apps. Completely free of 3rd Parties services, all works within the OutSystems Platform.