WebSocket Server On Message

<< Click to Display Table of Contents >>

Navigation:  Task Triggers >

WebSocket Server On Message

This trigger responds to the messages sent by different clients. This can be a WebSocket Client send message or any other applications or scripts that support WebSocket connections.

Note: This feature is available for Business license only




WebSocket server.

Choose the required Websocket server from the list. Please note that you cannot choose the server when editing a network task. Instead, you must enter the server ID. You must know the server ID in advance (see WS Connection manager->Servers->Advanced). If an invalid ID is specified, an "Invalid WS Server ID" error is returned when executing.


WS Server Manager

You can view or edit lists of registered WebSocket servers and clients (see WS Connection Manager).



Several options for analyzing the message received are supported

Is any string – in this case, the trigger launches the task when any string is received;

Starts with – the message must start with the string specified in the String field;

Contains –  the message must contain the string specified in the String field

Is exact string – the message must exactly match the specified string.



Enter the string to compare it with the message


Case Sensitive

If you need the case-sensitive comparison, then tick this checkbox.


Save received message to variable

Specify the name of the local variable of the task, where you want to save the received message. If the variable name is empty, the trigger doesn't save anything.


note Related Topics


Hot Keys

Tray Icon


Process Watcher

File Monitor

Dial-Up Connection Monitor

Expression monitor

Window Watcher

On Time Changed

On Battery Power is Low

On Spooler Changed

On Device Changed

On Palette Changed

On Display Changed

On Log Off

On Idle

On High Memory Load

On High CPU Load

On Switching to Battery

On AC Power Restored

On Local/Remote Session Changes

Clipboard Monitor


Pixels Monitor

WebSocket Client On Message

WebSocket Server On HTTP Request