summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/cowboy/2.0/guide/ws_protocol.asciidoc')
-rw-r--r--docs/en/cowboy/2.0/guide/ws_protocol.asciidoc5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc b/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc
index 127c829c..8fa0673d 100644
--- a/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc
+++ b/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc
@@ -65,6 +65,5 @@ Cowboy's Websocket implementation also includes the
permessage-deflate and x-webkit-deflate-frame compression
extensions.
-Cowboy will automatically use compression as long as the
-`websocket_compress` protocol option is set when starting
-the listener.
+Cowboy will automatically use compression when the
+`compress` option is returned from the `init/2` function.