I'm using a websocket that changes it's URL frequently, is it possible to workaround this (for example pass options via a msg to configure the URL?).
Currently I'm using: https://flows.nodered.org/node/node-red-contrib-function-npm and manually implementing ws via 'require', but this isn't flexible as once a websocket connection is opened, I can't seem to close it, even by redeploying the function node (I guess it runs as another process in the background!).
Can anyone suggest a viable workaround?