summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.0/guide/ws_protocol/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/cowboy/2.0/guide/ws_protocol/index.html')
-rw-r--r--docs/en/cowboy/2.0/guide/ws_protocol/index.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/en/cowboy/2.0/guide/ws_protocol/index.html b/docs/en/cowboy/2.0/guide/ws_protocol/index.html
index fe390c12..b026430a 100644
--- a/docs/en/cowboy/2.0/guide/ws_protocol/index.html
+++ b/docs/en/cowboy/2.0/guide/ws_protocol/index.html
@@ -129,9 +129,8 @@ suite with 100% success, including all optional tests.</p></div>
<div class="paragraph"><p>Cowboy&#8217;s Websocket implementation also includes the
permessage-deflate and x-webkit-deflate-frame compression
extensions.</p></div>
-<div class="paragraph"><p>Cowboy will automatically use compression as long as the
-<code>websocket_compress</code> protocol option is set when starting
-the listener.</p></div>
+<div class="paragraph"><p>Cowboy will automatically use compression when the
+<code>compress</code> option is returned from the <code>init/2</code> function.</p></div>
</div>
</div>