0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Fix small error in the websocket chapter in the guide

Reported by Michel Rijnders.
This commit is contained in:
Loïc Hoguin 2013-01-30 19:00:47 +01:00
parent 3c5502bbf7
commit a3c0ff9ccf

View file

@ -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.