Server-Sent events with Total.js
How to use server-sent events in the Total.js framework? We have prepared a simple tutorial how to connect and handle Server-Sent events.

Node.js Server-Sent Events with Total.js framework
With the Total.js framework, you can create an HTTP route for Server-Sent Events, or you can connect easily to another server with implemented Server-Sent Events.
Route for Server-Sent Events
Server-side implementation:
Client-side (web browser) implementation:
Capture Server-Sent Events on the server-side
With the Total.js framework is very easy to handle messages from another server with implemented Server-Sent Events functionality. For example, the code below captures messages from another HTTP server:
Other posts from Total.js Platform
- 2025-05-01April report 2025
- 2025-04-24j-Box - Total.js UI component
- 2025-04-14Beekeeping - recording damage caused by a brown bear
- 2025-04-11j-Importer - Total.js
- 2025-04-10The Thurzo House Museum
- 2025-04-02March report 2025
- 2025-03-28j-DataGrid - Total.js UI component part 2
- 2025-03-20j-DataGrid - Total.js part 1
- 2025-03-13j-Directory - jComponent
- 2025-03-05j-Input UI component part 2