aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_handler_init_shutdown.erl
AgeCommit message (Collapse)Author
2012-08-27Rename cowboy_http_req to cowboy_reqLoïc Hoguin
2011-10-19Fix the init_shutdown testLoïc Hoguin
2011-10-13Add shortcuts to reply functionsLoïc Hoguin
New functions are reply/2, reply/3, chunked_reply/2 in cowboy_http_req.
2011-10-06Allow HTTP handlers to skip the handle/2 step in init/3Loïc Hoguin
You can now return {shutdown, Req, State} from Handler:init/3 to skip the handle/2 step. Also allow init/3 function to send responses.