{"message":0,"timestamp":"2026-10-12T18:33:35.193Z","value":20.5}All connected clients receive the same messages, and the stream only advances while at least one client is connected. Messages from clients are ignored. A request that is not a WebSocket upgrade is answered with status 400. The plugin always ends the flow.
See tutorials/websockets/10-WebSocket-Proxy.yaml.
Example Configuration
api:
port: 2000
path:
uri: /stream
flow:
- webSocketDemoStream:
intervalSeconds: 5
api:
port: 2000
path:
uri: /stream
flow:
- webSocketDemoStream:
intervalSeconds: 5
Syntax
webSocketDemoStream:
intervalSeconds: <int>webSocketDemoStream: intervalSeconds: <int>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| intervalSeconds | false | 1 | Seconds between two messages. Must be at least 1. | 5 |