In older versions of Socket.IO (<0.9), I configured the "close timeout" and "transports" as follows:
io.set("transports", ["xhr-polling"]);
io.set("close timeout", 3);
But now the team is io.setout of date. How to determine the time close timeoutand transports?
When I use the old version, this message appears:
The timeout close option is invalid.
source
share