Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So that the following example: ```js const io = require('socket.io')({ pingTimeout: 10000 }); io.listen(3000); ``` behaves the same as: ```js const io = require('socket.io')(3000, { pingTimeout: 10000 }); ``` Before this change, the options in the first example were not forwarded to the Engine.IO constructor, which is not really intuitive. The previous syntax (which is still valid): ```js const io = require('socket.io')(); io.listen(3000, { pingTimeout: 10000 }); ```
- Loading branch information