| 1 |
= Cowboy |
| 2 |
|
| 3 |
Cowboy is a small, fast and modern HTTP server for Erlang/OTP. |
| 4 |
|
| 5 |
== Goals |
| 6 |
|
| 7 |
Cowboy aims to provide a *complete* HTTP stack in a *small* code base. |
| 8 |
It is optimized for *low latency* and *low memory usage*, in part |
| 9 |
because it uses *binary strings*. |
| 10 |
|
| 11 |
Cowboy provides *routing* capabilities, selectively dispatching requests |
| 12 |
to handlers written in Erlang. |
| 13 |
|
| 14 |
Because it uses Ranch for managing connections, Cowboy can easily be |
| 15 |
*embedded* in any other application. |
| 16 |
|
| 17 |
Cowboy is *clean* and *well tested* Erlang code. |
| 18 |
|
| 19 |
== Online documentation |
| 20 |
|
| 21 |
* https://ninenines.eu/docs/en/cowboy/2.18/guide[User guide] |
| 22 |
* https://ninenines.eu/docs/en/cowboy/2.18/manual[Function reference] |
| 23 |
|
| 24 |
== Offline documentation |
| 25 |
|
| 26 |
* While still online, run `make docs` |
| 27 |
* User guide available in `doc/` in PDF and HTML formats |
| 28 |
* Function reference man pages available in `doc/man3/` and `doc/man7/` |
| 29 |
* Run `make install-docs` to install man pages on your system |
| 30 |
* Full documentation in Asciidoc available in `doc/src/` |
| 31 |
* Examples available in `examples/` |
| 32 |
|
| 33 |
== Getting help |
| 34 |
|
| 35 |
* https://discord.gg/x25nNq2fFE[Discord server] |
| 36 |
* https://github.com/ninenines/cowboy/issues[Issues tracker] |
| 37 |
* https://ninenines.eu/services[Commercial Support] |
| 38 |
* https://github.com/sponsors/essen[Sponsor me!] |