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

Loïc Hoguin badc8d596e Fix cookie example again 8 years ago
doc fb6940599c Wording tweak in static handler chapter in the guide 9 years ago
ebin 7bdd710849 Completely remove SPDY 9 years ago
examples badc8d596e Fix cookie example again 8 years ago
src e2d5c268aa Fix timer-sent events in the websocket example 8 years ago
test e2d5c268aa Fix timer-sent events in the websocket example 8 years ago
.gitattributes 4023e7f4e4 Convert the documentation to Asciidoc 9 years ago
.gitignore 306c2710e9 gitignore: add examples/ dependency files 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 3c7766119d Update OTP versions tested 8 years ago
README.md 7bdd710849 Completely remove SPDY 9 years ago
ROADMAP.md 6fd2cadb1d Update ROADMAP 10 years ago
circle.yml 8fd7364517 Try an experimental Erlang.mk CI feature 9 years ago
erlang.mk b370442a63 Initial commit with connection/streams 9 years ago
rebar.config 2620d65fde Fix more HTTP/2 handshake test cases 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 Sameroom.

The original SPDY implementation was sponsored by LeoFS Cloud Storage. It has since been superseded by HTTP/2.

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