WebSocket Reverse proxy

I am using this library http-proxy-middleware to hide
my actual websocket server.
Proxy url = 'ws"//localhost:3001'
Ws server = 'ws://localhost:3000'

Is there a way that when i close the proxy server, the websocket connection doesnt get closed
Was this page helpful?