mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
25 lines
450 B
Markdown
25 lines
450 B
Markdown
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.
|