From a3c0ff9ccf088fde6be79818c1e8efb641b1ebec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 30 Jan 2013 19:00:47 +0100 Subject: Fix small error in the websocket chapter in the guide Reported by Michel Rijnders. --- guide/ws_handlers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guide') 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. -- cgit v1.2.3