0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/doc/src/manual/cowboy_handler.ezdoc

25 lines
428 B
Text
Raw Normal View History

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