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

David N. Welton f5c37a789c Add an index.html that is also served statically as the default for / 10 years ago
doc 228cebaf04 Add rfc7230 test suite and update others to recent Gun 10 years ago
examples f5c37a789c Add an index.html that is also served statically as the default for / 10 years ago
src 21632944bb Merge branch 'patch-2' of https://github.com/egobrain/cowboy 10 years ago
test 228cebaf04 Add rfc7230 test suite and update others to recent Gun 10 years ago
.gitignore 078d686a0a Provide installable man pages 10 years ago
AUTHORS 0b14dbeb43 Update AUTHORS 10 years ago
CHANGELOG.md 5be3c5064e Update CHANGELOG 10 years ago
CONTRIBUTING.md ac55fb27f8 Add note about SSL tests requiring R16B01 11 years ago
LICENSE 903594bb87 Update copyright years 11 years ago
Makefile 050621231c Update Cowlib to 1.3.0 10 years ago
README.md 228cebaf04 Add rfc7230 test suite and update others to recent Gun 10 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 903f6f4c7d Update erlang.mk 10 years ago
erlang.mk 228cebaf04 Add rfc7230 test suite and update others to recent Gun 10 years ago
rebar.config 050621231c Update Cowlib to 1.3.0 10 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