mirror https://github.com/ninenines/cowboy

Loïc Hoguin 75b8849b47 Merge branch 'stream_example' of git://github.com/acammack/cowboy 12 years ago
doc 0c2e2224e3 Update version to 0.6.0 13 years ago
examples f9dd3c9e54 Add a REST example that streams its response 12 years ago
guide bce7b860ee Merge branch 'static_doc' of git://github.com/acammack/cowboy 12 years ago
src bce7b860ee Merge branch 'static_doc' of git://github.com/acammack/cowboy 12 years ago
test 40b8d0befc Better handle socket closing with loop handlers 12 years ago
.gitignore 845d306df6 Add .cowboy.plt to the gitignore 13 years ago
AUTHORS 50e5a616dc Update AUTHORS file 12 years ago
CHANGELOG.md 181d0edc52 Small Markdown fixes to better follow the specs 12 years ago
CONTRIBUTING.md 1541e38d53 Add note about 80 columns max to CONTRIBUTING file 12 years ago
LICENSE 0c2e2224e3 Update version to 0.6.0 13 years ago
Makefile 60e94237c2 Makefile: separate deps compilation from app compilation 12 years ago
README.md 398d3503c4 Salvage the README and move parts into the guide 12 years ago
ROADMAP.md bc743a3ea5 Add a REST point on the roadmap 12 years ago
rebar.config ba924cbb7f Update Ranch to 0.6.1 12 years ago

README.md

Cowboy

Cowboy is a small, fast and modular HTTP server written in Erlang.

Goals

Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in parts 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.

Getting Started

  • Read the guide
  • Look at the examples in the examples/ directory
  • Build API documentation with make docs; open doc/index.html

Support