How to disconnect a websocket programmatically?

the point of websocket is to stay open .. otherwise you use http requests :wink:

there was a recent forum thread asking the same but i dont think there is a way to close the connection with the existing nodes.

Here is that post with a code alternative

1 Like