Connection example socket.io

socket.io docs says we should implement our own callback?

Does anyone have an example of a simple reconnect scheme?

The idea is that if a user reconnects within 20 seconds, they should be given the same socket.io sessionid.

+5
source share
1 answer

socket.io will now reconnect to support using the options reconnectand reconnectionDelayso that you can resolve everything for you if you need to.

+6
source

All Articles