0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 20:50:24 +00:00
cowboy/manual/cowboy_handler.md

26 lines
450 B
Markdown
Raw Normal View History

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.