Permalink
Browse files

Fix small error in the websocket chapter in the guide

Reported by Michel Rijnders.
  • Loading branch information...
1 parent 3c5502b commit a3c0ff9ccf088fde6be79818c1e8efb641b1ebec @essen essen committed Jan 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guide/ws_handlers.md
View
@@ -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.

0 comments on commit a3c0ff9

Please sign in to comment.