Loïc Hoguin
bf2b8181cc
Add two missing terminate reasons to http/loop handlers specs
2013-05-15 14:47:37 +02:00
Andrew Majorov
0d93c96b31
Update handler callback specs
...
There is one another {upgrade, ...} quintuple allowed as the result of
Handler:init call, somewhy not mentioned in the callback specifications.
2013-01-26 02:37:43 +04:00
Loïc Hoguin
647e95aed1
Replace terminate/2 with terminate/3, adding a Reason
...
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.
2013-01-22 02:34:18 +01:00
Loïc Hoguin
54063de2ff
Hello 2013
2013-01-04 15:10:03 +01:00
Loïc Hoguin
cc2e084d45
Update behaviours for R15B+
...
This effectively drops the R14B compatibility.
The cowboy_req:req() type will be introduced in a future commit.
It refers to the #http_req{} record.
2012-08-27 12:50:00 +02:00
Loïc Hoguin
0c2e2224e3
Update version to 0.6.0
...
Also update the CHANGELOG and copyright years.
2012-05-23 14:53:48 +02:00
Loïc Hoguin
108a491f55
Add documentation for the public interface.
...
This is probably not perfect yet but it should be better than
nothing. We'll improve things with feedback received from the
many users.
2011-07-06 17:42:20 +02:00
Loïc Hoguin
58267689f0
Add the remaining missing specs
...
Found thanks to warn_missing_spec and added with the help of typer.
Eunit functions do not have specs yet however.
2011-06-27 23:36:17 +02:00
Loïc Hoguin
e69597f29e
Add the cowboy_http_handler behaviour.
2011-03-24 13:48:52 +01:00