aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/switch_handler_h.erl
AgeCommit message (Collapse)Author
2017-11-01Add {switch_handler, Module} return value to cowboy_restLoïc Hoguin
Also {switch_handler, Module, Opts}. Allows switching to a different handler type. This is particularly useful for processing most of the request with cowboy_rest and then streaming the response body using cowboy_loop.