Is there a way to close persistent http-request connections?
I am building a node-red interface for Twitter's streaming API. This requires that I open a persistent streaming connection to an API endpoint.
I've got no trouble opening the connection....but have not worked out how to close them. I can restart node-red, but.. that's not ideal.
Deploying an update to a flow does not seem to disconnect anything, at the moment it's just creating a new connection and leaving the old one in place.