-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: socketio/engine.io@7706b12 [1]: socketio/socket.io#3775
- Loading branch information
1 parent
c679e62
commit 5579d40
Showing
2 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters