mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Update the cowboy_handler manual
Also fixes a small mistake in cowboy_websocket.
This commit is contained in:
parent
98ae01b599
commit
b13c07932d
3 changed files with 107 additions and 73 deletions
|
@ -52,7 +52,7 @@ websocket_init(State) -> CallResult %% optional
|
|||
websocket_handle(InFrame, State) -> CallResult
|
||||
websocket_info(Info, State) -> CallResult
|
||||
|
||||
terminate(Reason, undefined, State) -> any() %% optional
|
||||
terminate(Reason, undefined, State) -> ok %% optional
|
||||
|
||||
Req :: cowboy_req:req()
|
||||
State :: any()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue