ProtoFlux:Websocket Connection Events: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Websocket Connection Events (ProtoFlux) to ProtoFlux:Websocket Connection Events: Creating protoflux Namespace
m fixed link to impulses
Line 17: Line 17:
== Outputs ==
== Outputs ==


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


An [[Impulse | impulse]] triggered on a connection to the WebSocket server.
An [[Impulses | impulse]] triggered on a connection to the WebSocket server.


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


An [[Impulse | impulse]] triggered when the connection to the WebSocket server is cut.
An [[Impulses | impulse]] triggered when the connection to the WebSocket server is cut.


== Globals ==
== Globals ==

Revision as of 00:07, 4 February 2024

Websocket Connection Events
OnConnected
OnDisconnected
Client
null
Websockets

This node will allow you do detect when a WebSocket client is connected or disconnected.

Outputs

OnConnected (impulse)

An impulse triggered on a connection to the WebSocket server.

OnDisconnected (impulse)

An impulse triggered when the connection to the WebSocket server is cut.

Globals

Client (WebsocketClient)

A WebSocketClient component.