add websockettextmessagesender |
m fix type links |
||
Line 20: | Line 20: | ||
== Inputs == | == Inputs == | ||
=== * === | === * ([[Impulse|impulse]]) === | ||
An [[Impulse|impulse]] to trigger the node. | |||
=== Client === | === Client ([[WebsocketClient (Component) |WebsocketClient]])=== | ||
A [[WebsocketClient (Component) | WebSocketClient]] component. | A [[WebsocketClient (Component) | WebSocketClient]] component. | ||
=== Data === | === Data ([[Type:String|String]])=== | ||
The data to be sent to the server | The data to be sent to the server. | ||
== Outputs == | == Outputs == | ||
=== OnSendStart === | === OnSendStart ([[Impulse#Async|ASync Impulse]])=== | ||
An [[Impulse#Async | async impulse]] triggered when starting the send the data. | An [[Impulse#Async | async impulse]] triggered when starting the send the data. | ||
Line 42: | Line 42: | ||
A [[Impulse | continuation impulse]] triggered when the data is sent successfully. | A [[Impulse | continuation impulse]] triggered when the data is sent successfully. | ||
=== OnSendError === | === OnSendError ([[Impulse |Continuation]])=== | ||
A [[Impulse | continuation impulse]] triggered when the data couldn't be sent. | A [[Impulse | continuation impulse]] triggered when the data couldn't be sent. | ||
[[Category:ProtoFlux:Network:Websockets]] | [[Category:ProtoFlux:Network:Websockets]] |
Revision as of 19:05, 15 January 2024
Websocket Text Message Sender
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.