Commit 2ff89dbf authored by Alex Hultman's avatar Alex Hultman

Update README.md

parent 76fdc39e
......@@ -41,7 +41,7 @@ SocketCluster uses the same option as Socket.IO:
```javascript
var socketCluster = new SocketCluster({ wsEngine: 'uws' });
```
If your code directly relies on `ws` you can simply swap `require('ws')`with `require('uws')`:
If your code directly relies on `ws` you can simply swap `require('ws')` with `require('uws')`:
```javascript
var WebSocketServer = require('uws').Server; /* you replace 'ws' with 'uws' */
var wss = new WebSocketServer({ port: 8080 });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment