0
Fork 0
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:
Loïc Hoguin 2016-12-23 15:33:21 +01:00
parent 98ae01b599
commit b13c07932d
No known key found for this signature in database
GPG key ID: 71366FF21851DF03
3 changed files with 107 additions and 73 deletions

View file

@ -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()