Event listener for websocket-in

The websocket-in node emits "opened" and "closed" events. Can I set up a listener to these events in a function node, or do I have to write a new node to do so? I tried calling RED.nodes.getNode() from within a function, but nodes was null.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.