websocket
7 blocks in 1 groups. Open a block for its pins, an example and how it behaves.
websocket
- subscribe websocket on backend
execute_functionv13.0.5Subscribes the websocket to a specific channel. All broadcasts will be handled in the backend. - active id
valuev13.0.5retrieve the unique active websocket id - subscribe websocket on frontend
conditionv10.4.28Subscribes the websocket to a specific channel. All broadcasts will be pushed to that spark / the frontend. - send message
conditionv13.0.5Send the given payload as JSON to the current websocket - spark on disconnect
conditionv10.4.28Executes a given function if a spark disconnects. - unsubscribe websocket
conditionv13.0.5Unsubscribes the websocket from a specific channel. - websocket subscriptions
conditionv13.0.5Returns all subscriptions registered on the current websocket.