How to subscribe to multiple clients in websocket node

I am customizing websocket node for subscribing to multiple comma separated node. I found the source code https://github.com/node-red/node-red/blob/master/test/nodes/core/network/22-websocket_spec.js but how can I modify the code for custom websocket client creation.

how can I modify the code

Using an editor ?

You found the test case file for it. The actual source for the node is here - node-red/packages/node_modules/@node-red/nodes/core/network/22-websocket.js at master · node-red/node-red · GitHub

not using editor using using custom node.

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