Loïc Hoguin
4a30198f90
Make cowlib a proper dependency
...
Start moving a few functions from Cowboy into cowlib.
2013-09-04 19:24:54 +02:00
Loïc Hoguin
ab0699ab29
Make examples use the new routing
2013-01-29 14:47:17 +01: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
Unix1
33461ecdbd
Fix examples to follow new env tuple standard
...
This brings examples in line with the recent Middleware change.
2013-01-05 19:19:14 -08:00
Loïc Hoguin
160063497c
Start crypto also in the examples and documentation
2012-10-11 20:52:29 +02:00
Josh Toft
855828d15c
Make example README's more thorough
2012-10-01 10:37:24 -07:00
Loïc Hoguin
d3dcaf109b
Rename cowboy_http_req to cowboy_req
2012-08-27 13:28:57 +02:00
Loïc Hoguin
e4124de2c7
Switch to Ranch for connection handling
...
This is the first of many API incompatible changes.
You have been warned.
2012-08-27 11:50:35 +02:00
Loïc Hoguin
86f9f481c8
Add a simple Static File Server example
2012-07-14 20:24:47 +02:00
Loïc Hoguin
b8a25b156c
Add an Hello World example
2012-07-13 10:15:22 +02:00