aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/ws_protocol.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/guide/ws_protocol.asciidoc')
-rw-r--r--doc/src/guide/ws_protocol.asciidoc5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/guide/ws_protocol.asciidoc b/doc/src/guide/ws_protocol.asciidoc
index 127c829..8fa0673 100644
--- a/doc/src/guide/ws_protocol.asciidoc
+++ b/doc/src/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.