aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_handler.ezdoc
blob: 0495f2817dc3b3c6c931ef3fd72377f55dd5545e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
::: cowboy_handler

The `cowboy_handler` middleware executes the handler passed
through the environment values `handler` and `handler_opts`,
and adds the result of this execution to the environment as
the value `result`, indicating that the request has been
handled and received a response.

Environment input:

* handler = module()
* handler_opts = any()

Environment output:

* result = ok

:: Types

None.

:: Exports

None.