aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/ws_protocol.ezdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/guide/ws_protocol.ezdoc')
-rw-r--r--doc/src/guide/ws_protocol.ezdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/ws_protocol.ezdoc b/doc/src/guide/ws_protocol.ezdoc
index 15aea2c..d283ae3 100644
--- a/doc/src/guide/ws_protocol.ezdoc
+++ b/doc/src/guide/ws_protocol.ezdoc
@@ -25,7 +25,7 @@ excluding the initial flawed draft sometimes known as
:: Implementation
Cowboy implements Websocket as a protocol upgrade. Once the
-upgrade is performed from the `init/3` callback, Cowboy
+upgrade is performed from the `init/2` callback, Cowboy
switches to Websocket. Please consult the next chapter for
more information on initiating and handling Websocket
connections.