Socket.io v3.2.0 Release Notes
-
There are two non-breaking changes that are somehow quite important:
⏪
ws
was reverted as the default wsEngine (https://github.com/socketio/engine.io/pull/550), as there was several blocking issues withuws
. You can still useuws
by runningnpm install uws --save
in your project and using thewsEngine
option:var engine = require('engine.io'); var server = engine.listen(3000, { wsEngine: 'uws' });
0️⃣
pingTimeout
now defaults to 5 seconds (instead of 60 seconds): https://github.com/socketio/engine.io/pull/551