mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00

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.
54 lines
1.1 KiB
Markdown
54 lines
1.1 KiB
Markdown
Cowboy User Guide
|
|
=================
|
|
|
|
* [Introduction](introduction.md)
|
|
* Purpose
|
|
* Prerequisites
|
|
* Conventions
|
|
* Getting started
|
|
* [Routing](routing.md)
|
|
* Purpose
|
|
* Dispatch list
|
|
* Match rules
|
|
* Bindings
|
|
* Constraints
|
|
* [Handlers](handlers.md)
|
|
* Purpose
|
|
* Protocol upgrades
|
|
* [HTTP handlers](http_handlers.md)
|
|
* Purpose
|
|
* Callbacks
|
|
* Usage
|
|
* [Loop handlers](loop_handlers.md)
|
|
* Purpose
|
|
* Callbacks
|
|
* Usage
|
|
* [Websocket handlers](ws_handlers.md)
|
|
* Purpose
|
|
* Callbacks
|
|
* Usage
|
|
* [REST handlers](rest_handlers.md)
|
|
* Purpose
|
|
* Flow diagram
|
|
* Callbacks
|
|
* Usage
|
|
* [Static handlers](static_handlers.md)
|
|
* Purpose
|
|
* Usage
|
|
* [Request object](req.md)
|
|
* Purpose
|
|
* Request
|
|
* Request body
|
|
* Reply
|
|
* [Hooks](hooks.md)
|
|
* On request
|
|
* On response
|
|
* [Middlewares](middlewares.md)
|
|
* Purpose
|
|
* Usage
|
|
* Configuration
|
|
* Routing middleware
|
|
* Handler middleware
|
|
* [Internals](internals.md)
|
|
* Architecture
|
|
* Efficiency considerations
|