Websocket Client Message
Trigger for a the Websocket Client Message
Preview
Parameters
Clientrequired
Select
Select a client from the Server/Clients -> Websocket Clients tab
- Select
Any
to trigger on any client
Variables
The following variables will be populated when this trigger executes:
Description | ||
---|---|---|
message | string | The websocket client message Example: {"timeStamp":"2023-03-16T22:58:28.3298+01:00","event":{"source":"HotKey","type":"Press"},"data":{"_85lbxopeOGvkNXq7iRgrjS6tpjj":1,"_hdhxue62iGbvG5rnMWU0dxGe29p":96}} |
wsHost | string | The host of this websocket client Example: 127.0.0.1 |
wsId | string | The UUID of this websocket client |
wsIdx | number | The 0-based id of this websocket Example: 0, 1, 2, etc. |
wsName | string | The custom defined name of this websocket client Example: My websocket client |
wsPath | string | The path of this websocket client Example: / |
wsPort | number | The port of this websocket client Example: 8080 |
wsQuery | string | The query of this websocket client Example: ?key=value |
wsScheme | string | The scheme of this websocket client Example: ws |
wsUrl | string | The full URL of this websocket client Example: ws://127.0.0.1:8080/ |