ProtoFlux:Websocket Text Message Receiver: Difference between revisions

From Resonite Wiki
m fix types
reword
 
Line 13: Line 13:
|}}
|}}


This node will allow you to receive text messages from a [[WebsocketClient (Component) | WebSocket client]].
The '''Websocket Text Message Receiver''' node allows you to receive text messages from a [[WebsocketClient (Component) |WebsocketClient]].
 
== Outputs ==
== Outputs ==


=== OnReceived ([[Impulses |Call]]) ===
=== OnReceived ([[Impulses |Call]]) ===


An [[Impulses | Call]] triggered when a message is received, mostly used to write the data to a store.
A [[Impulses |Call]] triggered when a text message is received.


=== Data ([[Types:String |String]])===
=== Data ([[Types:String |String]])===


The actual message sent by the server as a [[Types:String | string]].
The actual message sent by the server as a [[Types:String |string]].


== Globals ==
== Globals ==
Line 28: Line 29:
=== Client ([[WebsocketClient (Component) |WebsocketClient]])===
=== Client ([[WebsocketClient (Component) |WebsocketClient]])===


A [[WebsocketClient (Component) | WebSocketClient]] component.
A [[WebsocketClient (Component) |WebSocketClient]] component.


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

Latest revision as of 04:34, 18 April 2025

Websocket Text Message Receiver
OnReceived
Data
Client
null
Websockets

The Websocket Text Message Receiver node allows you to receive text messages from a WebsocketClient.

Outputs

OnReceived (Call)

A Call triggered when a text message is received.

Data (String)

The actual message sent by the server as a string.

Globals

Client (WebsocketClient)

A WebSocketClient component.