mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Add middleware support
Middlewares allow customizing the request processing. All existing Cowboy project are incompatible with this commit. You need to change `{dispatch, Dispatch}` in the protocol options to `{env, [{dispatch, Dispatch}]}` to fix your code.
This commit is contained in:
parent
73d86057f2
commit
1b3f510b7e
12 changed files with 529 additions and 251 deletions
|
@ -43,6 +43,12 @@ Cowboy User Guide
|
|||
* [Hooks](hooks.md)
|
||||
* On request
|
||||
* On response
|
||||
* [Middlewares](middlewares.md)
|
||||
* Purpose
|
||||
* Usage
|
||||
* Configuration
|
||||
* Routing middleware
|
||||
* Handler middleware
|
||||
* [Internals](internals.md)
|
||||
* Architecture
|
||||
* Efficiency considerations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue