I am using stomp js in my angular project and also using WebSocket in java spring for backend.
Here is the scenario where if internet connection is lost in the client pc then how to notify the client that they are disconnected from the WebSocket connection and how to automatically reconnect with a client when it gets internet connection again?
I am using @stomp/ng2-stompjs "^7.2.0". Thanks in advance