aboutsummaryrefslogtreecommitdiffstats
path: root/manual/cowboy_handler.md
blob: 8d13492bedbcd6ec0d39f9289cee03e147a1bc0b (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
25
cowboy_handler
==============

The `cowboy_handler` middleware executes the handler passed
through the environment values `handler` and `handler_opts`,
and add 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.