Skip to content

Commit

Permalink
fixes problem with invoking a constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
capaj committed May 29, 2016
1 parent c454d89 commit c43a59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var io = require('socket.io')(80, { wsEngine: 'uws' });
This option has not yet been released, one alternative way of enabling `uws` in current versions of Socket.IO is:
```javascript
var io = require('socket.io')(80);
io.engine.ws = new require('uws').Server({
io.engine.ws = new (require('uws').Server)({
noServer: true,
clientTracking: false,
perMessageDeflate: false
Expand Down

0 comments on commit c43a59b

Please sign in to comment.