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

Loïc Hoguin fddd4a77fb Merge branch 'check-body-length' of git://github.com/rambocoder/cowboy 12 лет назад
doc a795b34f46 Add a simple README in the doc folder for guidance 12 лет назад
examples 88414e36b4 Add an example of onresponse hooks 12 лет назад
guide 84d7671e91 Check the length before reading the body in body/1 and body_qs/1 12 лет назад
src fddd4a77fb Merge branch 'check-body-length' of git://github.com/rambocoder/cowboy 12 лет назад
test 84d7671e91 Check the length before reading the body in body/1 and body_qs/1 12 лет назад
.gitignore 845d306df6 Add .cowboy.plt to the gitignore 13 лет назад
AUTHORS 065c0ab072 Update AUTHORS 12 лет назад
CHANGELOG.md fd636c9e6a Update CHANGELOG 12 лет назад
CONTRIBUTING.md 5c5794d27b Add more details on how to report bugs and vulnerabilities 12 лет назад
LICENSE 0c2e2224e3 Update version to 0.6.0 13 лет назад
Makefile dbc1bc6d91 Allow overriding ERLC_OPTS 12 лет назад
README.md 398d3503c4 Salvage the README and move parts into the guide 12 лет назад
ROADMAP.md bc743a3ea5 Add a REST point on the roadmap 12 лет назад
rebar.config ba924cbb7f Update Ranch to 0.6.1 12 лет назад

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