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

Loïc Hoguin 837cf8b9ce Update Erlang.mk 9 years ago
doc e25634cd9d Add optional callbacks 10 years ago
ebin 837cf8b9ce Update Erlang.mk 9 years ago
examples e923850389 Use the new unique_integer function to generate IDs 10 years ago
src b290b88a67 Use 'Connection' header only when necessary 9 years ago
test b290b88a67 Use 'Connection' header only when necessary 9 years ago
.gitignore 837cf8b9ce Update Erlang.mk 9 years ago
AUTHORS 0b14dbeb43 Update AUTHORS 10 years ago
CHANGELOG.md 5be3c5064e Update CHANGELOG 10 years ago
CONTRIBUTING.asciidoc c37852fa2b Update CONTRIBUTING 9 years ago
LICENSE 903594bb87 Update copyright years 11 years ago
Makefile 837cf8b9ce Update Erlang.mk 9 years ago
README.md f50bf62416 Update README.md 9 years ago
ROADMAP.md 6fd2cadb1d Update ROADMAP 10 years ago
all.sh 5ff3fdd91e Update version to 2.0.0-pre.1 10 years ago
build.config a6f75aa3dc Add HTTP/2 support preview 10 years ago
circle.yml 0ffde50991 Update apt-get before installing things on CI 9 years ago
erlang.mk 837cf8b9ce Update Erlang.mk 9 years ago
rebar.config 837cf8b9ce Update Erlang.mk 9 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 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 Kato.im.

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