SIGN IN SIGN UP
socketio / socket.io UNCLAIMED

Realtime application framework (Node.JS server)

0 0 0 TypeScript

feat: add support for the "wsPreEncoded" writing option

A few notes:

- only the first element is pre-encoded, because the other elements are
buffers and will be sent as is over the WebSocket connection

- using `socket.packet()` was unexpectedly working, we will now use
`socket.client.writeToEngine()` (see [1])

See also: https://github.com/socketio/engine.io/commit/7706b123df914777d19c8179b45ab6932f82916c

[1]: https://github.com/socketio/socket.io/issues/3775
D
Damien Arrachequesne committed
5579d40c24d15f69e44246f788fb93beb367f994
Parent: c679e62