Created on 27 April 2022
icon_unfollowing
Login to follow
sse-traditional-client

SSE Traditional Client

Stable version 1.1.5 (Compatible with OutSystems 11)
Uploaded on 10 November 2023 by 
sse-traditional-client

SSE Traditional 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.1.5)

- Fixed duplicating eventsource initializer when calling ajax submits on blocks containing the SSE. The traditional SSE client now cleans up the previous instance of SSE on that particular block by assigning a unique ID(provided by the SSE block itself)

- Added a visual cue on design time to better know that SSE is being used on a particular screen/block

License (1.1.5)
Reviews (1)
by 
2022-10-18
in version 1.1.3
Great utility, well thought out.
Category
Functional libraries & utilities, Other functions & libraries
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
SSE Traditional Client has no dependencies.
Application Objects
SSE Traditional Client has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
No consumers yet.
Weekly downloads