mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 12:40:25 +00:00
Fix small error in the websocket chapter in the guide
Reported by Michel Rijnders.
This commit is contained in:
parent
3c5502bbf7
commit
a3c0ff9ccf
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ init({tcp, http}, Req, Opts) ->
|
||||||
```
|
```
|
||||||
|
|
||||||
Cowboy will then switch the protocol and call `websocket_init`,
|
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_info`. Then, when the connection is shutting down,
|
||||||
`websocket_terminate` will be called.
|
`websocket_terminate` will be called.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue