2011-03-07 22:59:22 +01:00
|
|
|
Cowboy
|
|
|
|
======
|
|
|
|
|
|
|
|
Cowboy is a small, fast and modular HTTP server written in Erlang.
|
|
|
|
|
|
|
|
Goals
|
|
|
|
-----
|
|
|
|
|
2012-10-15 14:35:52 +02:00
|
|
|
Cowboy aims to provide a **complete** HTTP stack in a **small** code base.
|
2014-01-07 08:58:35 +11:00
|
|
|
It is optimized for **low latency** and **low memory usage**, in part
|
2012-10-15 14:35:52 +02:00
|
|
|
because it uses **binary strings**.
|
|
|
|
|
|
|
|
Cowboy provides **routing** capabilities, selectively dispatching requests
|
|
|
|
to handlers written in Erlang.
|
|
|
|
|
|
|
|
Because it uses Ranch for managing connections, Cowboy can easily be
|
|
|
|
**embedded** in any other application.
|
|
|
|
|
|
|
|
No parameterized module. No process dictionary. **Clean** Erlang code.
|
2011-03-07 22:59:22 +01:00
|
|
|
|
2013-08-23 23:23:04 +02:00
|
|
|
Sponsors
|
|
|
|
--------
|
|
|
|
|
2014-04-14 12:09:56 +02:00
|
|
|
The SPDY implementation was sponsored by
|
|
|
|
[LeoFS Cloud Storage](http://www.leofs.org).
|
|
|
|
|
|
|
|
The project is currently sponsored by
|
|
|
|
[Kato.im](https://kato.im).
|
2013-08-23 23:23:04 +02:00
|
|
|
|
2011-03-20 14:15:58 +01:00
|
|
|
Getting Started
|
|
|
|
---------------
|
2011-03-07 22:59:22 +01:00
|
|
|
|
2013-05-17 17:16:43 +02:00
|
|
|
* [Read the guide](http://ninenines.eu/docs/en/cowboy/HEAD/guide)
|
|
|
|
* [Check the manual](http://ninenines.eu/docs/en/cowboy/HEAD/manual)
|
2012-11-13 17:52:02 +01:00
|
|
|
* Look at the examples in the `examples/` directory
|
2012-10-15 14:35:52 +02:00
|
|
|
|
2012-12-17 12:41:04 +01:00
|
|
|
Support
|
|
|
|
-------
|
|
|
|
|
|
|
|
* Official IRC Channel: #ninenines on irc.freenode.net
|
|
|
|
* [Mailing Lists](http://lists.ninenines.eu)
|
|
|
|
* [Commercial Support](http://ninenines.eu/support)
|