Difference between revisions of "Websocket Text Message Sender (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "<languages></languages> <translate> {{stub}} <!--T:1--> {{Infobox Logix Node | Name = Websocket Text Message Sender | Image =File: WebsocketTextMessageSenderNode.png | nofra...")
 
 
Line 36: Line 36:
 
[[Category:LogiX{{#translation:}}|Websocket Text Message Sender]]
 
[[Category:LogiX{{#translation:}}|Websocket Text Message Sender]]
 
[[Category:LogiX:Network:Websocket{{#translation:}}|Websocket Text Message Sender]]
 
[[Category:LogiX:Network:Websocket{{#translation:}}|Websocket Text Message Sender]]
{{:NodeMenu-Network-Websocket{{#translation:}}}}
+
{{NodeMenu-Network-Websocket{{#translation:}}}}

Latest revision as of 02:01, 28 August 2021


This article or section is a Stub. You can help the Neos Wiki by expanding it.


Websocket Text Message Sender
'Websocket Text Message Sender' LogiX node
Inputs
  Impulse Send
  WebsocketClient Client
  String Data
Outputs
  Impulse OnSendStart
  Impulse OnSent
  Impulse OnSendError
  String SentData

The Websocket Text Message Sender node sends a string specified by Data to the websocket endpoint specified by Client

Usage

Once a connection has been initialized by a Websocket Connect node, and the Connected event has been received on a Websocket Connection Events node, this node can be used to send strings to the target endpoint.

OnSendStart indicates that the Data string has began transmitting.

OnSent indicates that the Data string has finished transmitting successfully.

OnSendError indicates that the Data string failed to transmit - either the socket is no longer connected, or some other error occurred during transmission.

If the send was successful, SentData contains the string that was originally given as Data - this is useful in cases where Data's value has changed between the Send impulse, and the OnSent impulse.

Examples

Node Menu

Network / Websocket
Back Websocket Connect Websocket Connection Events Websocket Text Message Receiver Websocket Text Message Sender