mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Update cowboy_loop manual
This commit is contained in:
parent
b13c07932d
commit
5da7d1ef05
3 changed files with 90 additions and 71 deletions
|
@ -28,10 +28,10 @@ init(Req, State) -> {ok, Req, State}
|
|||
|
||||
terminate(Reason, Req, State) -> ok %% optional
|
||||
|
||||
Req :: cowboy_req:req()
|
||||
State :: any()
|
||||
Reason :: normal
|
||||
| {crash, error | exit | throw, any()}
|
||||
Req :: cowboy_req:req()
|
||||
State :: any()
|
||||
Reason :: normal
|
||||
| {crash, error | exit | throw, any()}
|
||||
----
|
||||
|
||||
These two callbacks are common to all handlers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue