Skip to content

Realtime Data with WebSockets

Learn where Node.js WebSocket features fit in Wappler and how realtime flows differ from request-response APIs.

Realtime Data with WebSockets is a Node.js-specific runtime feature in Wappler. Use it when the server should push updates to connected clients without waiting for page reloads, form submits, or polling.

It complements the normal route and API flow rather than replacing it: pages and APIs still handle the shared app structure, while sockets add live server-to-client updates.

Push updates
Server pushes Live changes
Connected clients
Multiple listeners Shared realtime state
Complements APIs
Use with routes and normal data flows
Use WebSockets when clients should receive updates as events happen.
Keep request/response APIs for normal data loading, forms, and routing work.
Think of sockets as the live channel added on top of the shared Wappler app model.

Review what you did and choose a next tour.

Continue with the Node.js-specific branch or jump back to the shared Server Connect learning path.