Give us feedback
sse-reactive-client
Reactive icon

SSE Reactive Client

Stable version 1.0.4 (Compatible with OutSystems 11)
Uploaded on 30 May 2023 by 
5.0
 (4 ratings)
sse-reactive-client

SSE Reactive Client

Details
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.


*NOTE*

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


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

Release notes (1.0.4)
  • Added a visual cue at Service Studio to know that a particular screen is using an SSE Listener 
  • Fixed custom channel events for the native Event Source call
  • Improved the Multiple Front-End Demo app, now tested


A big thanks to several community members for pointing, suggesting and testing the above, its a huge help! 

License (1.0.4)
Reviews (3)
by 
12 Jul (4 days ago)
in version 1.0.4
heart breaking. cool! thanks
by 
2023-08-29
in version 1.0.4
Love the options this enables!
by 
2023-02-16
in version 1.0.3
Works like a charm, thanks.
Team