io configure - socket io v1.X
See original GitHub issueWhat is the example configuration for do this in socket io v1.X.X ?
//this is configuration for socket.io v0.9.X<
io.configure('production', function () {
io.enable('browser client minification');
io.enable('browser client etag');
io.enable('browser client gzip');
io.set('log level', 1);
io.set('transports', ['websocket', 'flashsocket', 'htmlfile', 'xhr-polling', 'jsonp-polling']);
});
Issue Analytics
- State:
- Created 9 years ago
- Comments:31 (11 by maintainers)
Top Results From Across the Web
Server options - Socket.IO
IO server options. path . Default value: /socket.io/. It is the name of the path that is captured on the server side.
Read more >Client API - Socket.IO
This is documentation for Socket.IO 3.x, which is no longer actively maintained. For up-to-date documentation, see the latest version (4.x).
Read more >Server API - Socket.IO
Version: 4.x. On this page ... const io = new Server(httpServer, { // options }); io.on("connection", (socket) => { ... Added in v1.0.0....
Read more >Client Installation | Socket.IO
2.x, NO, YES, YES 1, YES 1 ... io will be registered as a global variable: ... By setting localStorage.debug = 'socket.io-client:socket' ...
Read more >Server Initialization | Socket.IO
IO server library, you can now init the server. ... Please note that if perMessageDeflate is set to false (which is the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This DOES NOT work (wish I knew what did!):
But adding a note about it in the guide sounds like a great idea.