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
Copy file name to clipboardExpand all lines: README.md
+30-5
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,14 @@
3
3
4
4
An alternative to the default [socket.io-parser](https://github.com/socketio/socket.io-parser), encoding and decoding packets with [msgpack](http://msgpack.org/).
5
5
6
-
With that parser, the browser build will be a bit heavier (an additional 7.5 KB minified, 3.0 KB gzipped), but each message will be smaller (sent as binary).
6
+
With that parser, the browser build will be a bit heavier (an additional 7.5 KB minified, 3.0 KB gzipped), but each message will be smaller (sent as binary).
7
+
8
+
Please note that you MUST use the parser on both sides (server & client).
9
+
10
+
See also:
11
+
12
+
- the default parser: https://github.com/socketio/socket.io-parser
13
+
- a parser based on JSON.stringify/parse: https://github.com/darrachequesne/socket.io-json-parser
0 commit comments