aboutsummaryrefslogtreecommitdiffstats
path: root/examples/chunked_hello_world/src/toppage_handler.erl
AgeCommit message (Collapse)Author
2013-01-22Replace terminate/2 with terminate/3, adding a ReasonLoïc Hoguin
This should have been done a *long* time ago, back when I initially added Websocket support. This is the first part of two in improving loop handler support with regards to socket closure. Reason may include: {normal, shutdown} for the most normal shutdown, {normal, timeout} for a loop handler timeout shutdown, or {error, _} if an error occured.
2012-08-27Rename cowboy_http_req to cowboy_reqLoïc Hoguin
2012-07-22Add a Chunked Hello World exampleLoïc Hoguin