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

Loïc Hoguin e25634cd9d Add optional callbacks 9 years ago
doc e25634cd9d Add optional callbacks 9 years ago
ebin d2924de2b6 Fix .app module list 9 years ago
examples e923850389 Use the new unique_integer function to generate IDs 9 years ago
src e25634cd9d Add optional callbacks 9 years ago
test 3098986710 Fix autobahn test suite report link when used in CI 9 years ago
.gitignore 20456b8ac9 Update gitignore 9 years ago
AUTHORS 0b14dbeb43 Update AUTHORS 10 years ago
CHANGELOG.md 5be3c5064e Update CHANGELOG 10 years ago
CONTRIBUTING.asciidoc a38735c18e CONTRIBUTING additions 9 years ago
LICENSE 903594bb87 Update copyright years 11 years ago
Makefile 9a9183edf8 Don't call xdg-open at the end of CI 9 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 a6f75aa3dc Add HTTP/2 support preview 10 years ago
circle.yml 93d1e0c577 Add support for Autobahn test suite for CircleCI builds 9 years ago
erlang.mk 889601751d Fix ci-prepare when OTP builds exist 9 years ago
rebar.config 06bd01d35e Use HTTPS dependencies when using Rebar 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