WEBSOCKET.SEND
Premium
The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user(client) and the server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.
Listens to incoming messages for the given WebSocket connection and places them into the given target.
Syntax
=WEBSOCKET.SEND(Connection, Message)
Arguments
Name | Type | Description |
---|---|---|
Connection | Connection | WebSocket connection created with WEBSOCKET.CONNECT. |
Message | String | The message to send. |
Return
Type | Description |
---|---|
Boolean | TRUE, if no error. |
Examples
Formula | Result | Comment |
---|---|---|
| TRUE | Opens a WebSocket connection and send the given JSON. |