0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/manual/cowboy_handler.md
Loïc Hoguin 666c59bc42 Add the Cowboy Function Reference
The manual details every stable public functions of Cowboy.
2013-05-17 13:13:27 +02:00

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.