Skip to content

Commit

Permalink
Correct perMessageDeflate.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Apr 5, 2017
1 parent 372725d commit dc39271
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,16 @@ We recommend disabling the [per message deflate
extension](https://tools.ietf.org/html/rfc7692) to achieve the best
throughput.

Default: `false`
Default: `true`

Example:

```js
var websocket = require('websocket-stream')
var ws = websocket('ws://realtimecats.com', {
perMessageDeflate: false
})
```

##### Other options

Expand Down

0 comments on commit dc39271

Please sign in to comment.