add websocketconnectionevents |
fix type links |
||
Line 17: | Line 17: | ||
== Outputs == | == Outputs == | ||
=== OnConnected === | === OnConnected ([[Impulse |impulse]])=== | ||
An [[Impulse | impulse]] triggered on a connection to the WebSocket server. | An [[Impulse | impulse]] triggered on a connection to the WebSocket server. | ||
=== OnDisconnected === | === OnDisconnected ([[Impulse |impulse]])=== | ||
An [[Impulse | impulse]] triggered when the connection to the WebSocket server is cut. | An [[Impulse | impulse]] triggered when the connection to the WebSocket server is cut. | ||
Line 27: | Line 27: | ||
== 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 18:59, 15 January 2024
Websocket Connection Events
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.