0
Fork 0
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:
Loïc Hoguin 2016-12-23 17:20:54 +01:00
parent b13c07932d
commit 5da7d1ef05
No known key found for this signature in database
GPG key ID: 71366FF21851DF03
3 changed files with 90 additions and 71 deletions

View file

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