add websocketconnectionevents |
m fix types |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":"OnConnected", "Type":" | {"Name":"OnConnected", "Type":"Call"}, | ||
{"Name":"OnDisconnected", "Type":" | {"Name":"OnDisconnected", "Type":"Call"} | ||
] | ] | ||
|Globals= | |Globals= | ||
Line 17: | Line 17: | ||
== Outputs == | == Outputs == | ||
=== OnConnected === | === OnConnected ([[Impulses |Call]])=== | ||
An [[ | An [[Impulses | Call]] triggered on a connection to the WebSocket server. | ||
=== OnDisconnected === | === OnDisconnected ([[Impulses |Call]])=== | ||
An [[ | An [[Impulses | Call]] triggered when the connection to the WebSocket server is cut. | ||
== 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]] |
Latest revision as of 21:26, 9 February 2024
Websocket Connection Events
null
∅
Websockets
This node will allow you do detect when a WebSocket client is connected or disconnected.
Outputs
OnConnected (Call)
An Call triggered on a connection to the WebSocket server.
OnDisconnected (Call)
An Call triggered when the connection to the WebSocket server is cut.
Globals
Client (WebsocketClient)
A WebSocketClient component.