2014-07-06 13:10:35 +02:00
|
|
|
::: cowboy_handler
|
2013-05-17 13:13:27 +02:00
|
|
|
|
|
|
|
The `cowboy_handler` middleware executes the handler passed
|
|
|
|
through the environment values `handler` and `handler_opts`,
|
2014-07-06 13:10:35 +02:00
|
|
|
and adds the result of this execution to the environment as
|
2013-05-17 13:13:27 +02:00
|
|
|
the value `result`, indicating that the request has been
|
|
|
|
handled and received a response.
|
|
|
|
|
|
|
|
Environment input:
|
2014-07-06 13:10:35 +02:00
|
|
|
|
|
|
|
* handler = module()
|
|
|
|
* handler_opts = any()
|
2013-05-17 13:13:27 +02:00
|
|
|
|
|
|
|
Environment output:
|
|
|
|
|
2014-07-06 13:10:35 +02:00
|
|
|
* result = ok
|
|
|
|
|
|
|
|
:: Types
|
2013-05-17 13:13:27 +02:00
|
|
|
|
|
|
|
None.
|
|
|
|
|
2014-07-06 13:10:35 +02:00
|
|
|
:: Exports
|
2013-05-17 13:13:27 +02:00
|
|
|
|
|
|
|
None.
|