mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
Fix small detail in docs
This commit is contained in:
parent
02b1b28178
commit
7472f14de0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ It is defined in the `cowboy_middleware` behavior.
|
||||||
This callback has two arguments. The first is the `Req` object.
|
This callback has two arguments. The first is the `Req` object.
|
||||||
The second is the environment.
|
The second is the environment.
|
||||||
|
|
||||||
Middlewares can return one of four different values:
|
Middlewares can return one of three different values:
|
||||||
|
|
||||||
* `{ok, Req, Env}` to continue the request processing
|
* `{ok, Req, Env}` to continue the request processing
|
||||||
* `{suspend, Module, Function, Args}` to hibernate
|
* `{suspend, Module, Function, Args}` to hibernate
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue