summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-02-22 13:26:18 +0100
committerLoïc Hoguin <[email protected]>2017-02-22 13:26:18 +0100
commitade8a523dd6afe21f169a3f41cd78cc1ba730c74 (patch)
tree15ebf7938b8374b2f867be361bc52c34b3415ef6 /docs/en/cowboy/2.0/guide/ws_protocol.asciidoc
parent7bb98d0476dbe4ee5e9317e42ca17e4a7d717e0d (diff)
downloadninenines.eu-ade8a523dd6afe21f169a3f41cd78cc1ba730c74.tar.gz
ninenines.eu-ade8a523dd6afe21f169a3f41cd78cc1ba730c74.tar.bz2
ninenines.eu-ade8a523dd6afe21f169a3f41cd78cc1ba730c74.zip
Update docs
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.