Browse Source

Fix small error in the websocket chapter in the guide

Reported by Michel Rijnders.
Loïc Hoguin 12 years ago
parent
commit
a3c0ff9ccf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      guide/ws_handlers.md

+ 1 - 1
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.