Hi everyone!
I'd like to know how to detect a websocket disconnection (due to server fault or line ) in a javascript client that use b4j_ws.js and reconnecting-websocket.js, but at the same time it doesn't confuse a clear close recived from the server with an accidental disconnection.
Thanks for the attention.
I'd like to know how to detect a websocket disconnection (due to server fault or line ) in a javascript client that use b4j_ws.js and reconnecting-websocket.js, but at the same time it doesn't confuse a clear close recived from the server with an accidental disconnection.
Thanks for the attention.