ProtoFlux:Websocket Text Message Sender

From Resonite Wiki
Revision as of 21:28, 9 February 2024 by 989onan (talk | contribs) (fix types)
(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

* (Call)

An Call to trigger the node.

Client (WebsocketClient)

A WebSocketClient component.

Data (String)

The data to be sent to the server.

Outputs

OnSendStart (SyncResumption (Async))

An Async impulse that is triggered when starting the send the data.

OnSent

A continuation impulse triggered when the data is sent successfully.

OnSendError (Continuation)

A Continuation that is triggered when the data couldn't be sent.