WebSocket Client Send Message

<< Click to Display Table of Contents >>

Navigation:  Actions > WebSockets >

WebSocket Client Send Message

The action sends a text message via the specified WS client to the connected WebSocket server

Note: This feature is available for Business license only

 

WSClientSendMsg

 

WebSocket Client

Choose the WebSocket client from the list. If you edit a network task, the list is not available and you have to enter the client ID manually (see WS Connection manager->Clients->Advanced). If the client ID is incorrect, the action will get an "Invalid WS Client ID" run-time error.

 

Text message

The text message you want to send

 

If client is not connected

If the specified client is not connected at the time the action is called, two execution options are offered:

Queue message and send it when client is connected again;

Stop with error

 

WS Client Manager

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

 

 

note Related Topics

WS Connection Manager

WebSocket Server Send Message

WebSocket Server HTTP Response

Start/Stop WebSocket Server

Connect/Disconnect WebSocket Client

 

WebSocket Server On Message

WebSocket Client On Message

WebSocket Server On HTTP Reqest