aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--guide/ws_handlers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/ws_handlers.md b/guide/ws_handlers.md
index c1e551e..94bc95e 100644
--- a/guide/ws_handlers.md
+++ b/guide/ws_handlers.md
@@ -35,7 +35,7 @@ init({tcp, http}, Req, Opts) ->
```
Cowboy will then switch the protocol and call `websocket_init`,
-followed by zero or more calls to `websocket_data` and
+followed by zero or more calls to `websocket_handle` and
`websocket_info`. Then, when the connection is shutting down,
`websocket_terminate` will be called.