ProtoFlux:Websocket Text Message Receiver: Difference between revisions

From Resonite Wiki
add websockettextmessagereceiver
 
fix type links
Line 16: Line 16:
== Outputs ==
== Outputs ==


=== OnReceived ===
=== OnReceived ([[Impulse |impulse]]) ===


An [[Impulse | impulse]] triggered when a message is received, mostly used to write the data to a store.
An [[Impulse | impulse]] triggered when a message is received, mostly used to write the data to a store.


=== Data ===
=== 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]].
Line 26: Line 26:
== Globals ==
== Globals ==


=== Client ===
=== Client ([[WebsocketClient (Component) |WebsocketClient]])===


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


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

Revision as of 19:00, 15 January 2024

Websocket Text Message Receiver
OnReceived
Data
Client
null
Websockets

This node will allow you to receive text messages from a WebSocket client.

Outputs

OnReceived (impulse)

An impulse triggered when a message is received, mostly used to write the data to a store.

Data (String)

The actual message sent by the server as a string.

Globals

Client (WebsocketClient)

A WebSocketClient component.