ProtoFlux:Websocket Text Message Sender: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Websocket Text Message Sender (ProtoFlux) to ProtoFlux:Websocket Text Message Sender: Creating protoflux Namespace
fixed links to impulses
Line 20: Line 20:
== Inputs ==
== Inputs ==


=== * ([[Impulse|impulse]]) ===
=== * ([[Impulses|impulse]]) ===


An [[Impulse|impulse]] to trigger the node.
An [[Impulses|impulse]] to trigger the node.


=== Client ([[WebsocketClient (Component) |WebsocketClient]])===
=== Client ([[WebsocketClient (Component) |WebsocketClient]])===
Line 34: Line 34:
== Outputs ==
== Outputs ==


=== OnSendStart ([[Impulse#Async|ASync Impulse]])===
=== OnSendStart ([[Impulses#ASync|ASync Impulse]])===


An [[Impulse#Async | async impulse]] triggered when starting the send the data.
An [[Impulses#ASync | async impulse]] triggered when starting the send the data.


=== OnSent ===
=== OnSent ===


A [[Impulse | continuation impulse]] triggered when the data is sent successfully.
A [[Impulses | continuation impulse]] triggered when the data is sent successfully.


=== OnSendError ([[Impulse |Continuation]])===
=== OnSendError ([[Impulses |Continuation]])===


A [[Impulse | continuation impulse]] triggered when the data couldn't be sent.
A [[Impulses | continuation impulse]] triggered when the data couldn't be sent.


[[Category:ProtoFlux:Network:Websockets]]
[[Category:ProtoFlux:Network:Websockets]]

Revision as of 00:08, 4 February 2024

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

* (impulse)

An impulse to trigger the node.

Client (WebsocketClient)

A WebSocketClient component.

Data (String)

The data to be sent to the server.

Outputs

OnSendStart (ASync Impulse)

An async impulse triggered when starting the send the data.

OnSent

A continuation impulse triggered when the data is sent successfully.

OnSendError (Continuation)

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