Give us feedback
sse-server-event-hub-and-client
Service icon

SSE Push Event Hub

Stable version 2.0.3 (Compatible with OutSystems 11)
Uploaded on 7 Sep by 
5.0
 (9 ratings)
sse-server-event-hub-and-client

SSE Push Event Hub

Details
Server-Sent Events (SSE) Hub for 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.


Multiple front-ends/clustered environments are not supported out of the box. Please refer to the docs and demo for a repeater implementation.

Related Components


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 (2.0.3)

*Breaking Changes* 

  • This component has been converted into a Service only APP.
  • The Reactive and Traditional SSE client listeners/connectors have been moved into their own libs:
  • The Hub integration has been overall simplified and cleaned up. 
  • There are new sample apps that have been improved to best match Authentication and overall best practices:
  • There is now an alternative version to the native EventSource using Fetch from Microsoft. Please check the docs on the corresponding component - Reactive / Traditional
  • HeartBeat is now a comment per protocol
  • Fixed an issue with the above heartbeat approach
Reviews (5)
18 Oct
in version 2.0.3
Great component.  Lets me show states for processes the server is running - no need for 3rd party services like Firebase or client side javascript screen actions to refresh widgets etc. 
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!