I'm using this in a mobile app, but it would be the same for mobile web.
I use the client to connect to an engine.io server. When the user switches from Wifi to LTE, I get a CLOSED event. How do I either manually reconnect, or configure the original socket to reconnect automatically?