Require: IP-Symcon >= 5.5
boolean WSC_SendMessage (int $InstanceID, string $Message)
InstanceID | ID of the WebSocket client to be updated |
Message | The string to be sent |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sends the message Message to the WebSocket Client with the ID InstanceID.
// Sends the message "Hello World" to the WebSocket Client instance with ID 12345
WSC_SendMessage(12345, "Hello World");