aboutsummaryrefslogtreecommitdiffstats
path: root/guide/ws_handlers.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-01-30 19:00:47 +0100
committerLoïc Hoguin <[email protected]>2013-01-30 19:00:47 +0100
commita3c0ff9ccf088fde6be79818c1e8efb641b1ebec (patch)
tree1651a68135bdf6c2eedccbac1dac2b1e7841aef6 /guide/ws_handlers.md
parent3c5502bbf71ebee08ead3e8d579bfce9d2f48293 (diff)
downloadcowboy-a3c0ff9ccf088fde6be79818c1e8efb641b1ebec.tar.gz
cowboy-a3c0ff9ccf088fde6be79818c1e8efb641b1ebec.tar.bz2
cowboy-a3c0ff9ccf088fde6be79818c1e8efb641b1ebec.zip
Fix small error in the websocket chapter in the guide
Reported by Michel Rijnders.
Diffstat (limited to 'guide/ws_handlers.md')
-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.