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

Loïc Hoguin b7d666cfc7 Merge pull request #924 from abs/patch-1 9 лет назад
doc e25634cd9d Add optional callbacks 9 лет назад
ebin 837cf8b9ce Update Erlang.mk 9 лет назад
examples e923850389 Use the new unique_integer function to generate IDs 9 лет назад
src b290b88a67 Use 'Connection' header only when necessary 9 лет назад
test b290b88a67 Use 'Connection' header only when necessary 9 лет назад
.gitignore 837cf8b9ce Update Erlang.mk 9 лет назад
AUTHORS 0b14dbeb43 Update AUTHORS 10 лет назад
CHANGELOG.md 5be3c5064e Update CHANGELOG 10 лет назад
CONTRIBUTING.asciidoc c37852fa2b Update CONTRIBUTING 9 лет назад
LICENSE 903594bb87 Update copyright years 11 лет назад
Makefile 837cf8b9ce Update Erlang.mk 9 лет назад
README.md 986d0f1c3f Update README.md 9 лет назад
ROADMAP.md 6fd2cadb1d Update ROADMAP 10 лет назад
all.sh 5ff3fdd91e Update version to 2.0.0-pre.1 10 лет назад
build.config a6f75aa3dc Add HTTP/2 support preview 10 лет назад
circle.yml 0ffde50991 Update apt-get before installing things on CI 9 лет назад
erlang.mk 837cf8b9ce Update Erlang.mk 9 лет назад
rebar.config 837cf8b9ce Update Erlang.mk 9 лет назад

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 part 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.

Sponsors

The project is currently sponsored by Sameroom.

The SPDY implementation was sponsored by LeoFS Cloud Storage.

Online documentation

Offline documentation

  • While still online, run make docs
  • Function reference man pages available in doc/man3/ and doc/man7/
  • Run make install-docs to install man pages on your system
  • Full documentation in Markdown available in doc/markdown/
  • Examples available in examples/

Getting help