ProtoFlux:Websocket Text Message Sender

From Resonite Wiki
Revision as of 18:58, 14 January 2024 by J4 (talk | contribs) (add websockettextmessagesender)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Websocket Text Message Sender
*
OnSendStart
Client
OnSent
Data
OnSendError
Websockets

This node allows you to send text messages to a WebSocket server via a WebSocketClient.

Inputs

*

A pulse to trigger the node.

Client

A WebSocketClient component.

Data

The data to be sent to the server, as a string.

Outputs

OnSendStart

An async impulse triggered when starting the send the data.

OnSent

A continuation impulse triggered when the data is sent successfully.

OnSendError

A continuation impulse triggered when the data couldn't be sent.