You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
* fix the ES module wrapper ([ed87609](https://github.com/socketio/engine.io/commit/ed87609bafca0e844e6b29ea1a895d95df6a544c))
52
+
* wait for all packets to be sent before closing the WebSocket connection ([a65a047](https://github.com/socketio/engine.io/commit/a65a047526401bebaa113a8c70d03f5d963eaa54))
53
+
54
+
55
+
###Features
56
+
57
+
* add the "addTrailingSlash" option ([#655](https://github.com/socketio/engine.io/issues/655)) ([d0fd474](https://github.com/socketio/engine.io/commit/d0fd4746afa396297f07bb62e539b0c1c4018d7c))
58
+
59
+
The trailing slash which was added by default can now be disabled:
60
+
61
+
```js
62
+
import {Server }from"engine.io";
63
+
64
+
constserver=newServer();
65
+
66
+
server.attach(httpServer, {
67
+
addTrailingSlash:false
68
+
});
69
+
```
70
+
71
+
In the example above, the clients can omit the trailing slash and use`/engine.io` instead of`/engine.io/`.
72
+
73
+
74
+
###Performance Improvements
75
+
76
+
* add the wsPreEncodedFrame option ([5e34722](https://github.com/socketio/engine.io/commit/5e34722b0b6564d6207a56d69bc3b0a831e4dc46))
77
+
78
+
This will be used when broadcasting packets at the Socket.IO level.
79
+
80
+
See also:https://github.com/socketio/socket.io-adapter/commit/5f7b47d40f9daabe4e3c321eda620bbadfe5ce96
No change on the server-side, this matches the client release.
241
294
@@ -248,7 +301,7 @@ No change on the server-side, this matches the client release.
248
301
* properly close the websocket connection upon handshake error ([4360686](https://github.com/socketio/engine.io/commit/43606865e5299747cbb31f3ed9baf4567502a879))
* do not reset the ping timer after upgrade ([ff2b8ab](https://github.com/socketio/engine.io/commit/ff2b8aba48ebcb0de5626d3b76fddc94c398395f)), closes[/github.com/socketio/socket.io-client-swift/pull/1309#issuecomment-768475704](https://github.com//github.com/socketio/socket.io-client-swift/pull/1309/issues/issuecomment-768475704)