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

Loïc Hoguin def0bc530b Add HTTP/2 snippets to all working examples 8 лет назад
doc fb6940599c Wording tweak in static handler chapter in the guide 8 лет назад
ebin 7bdd710849 Completely remove SPDY 9 лет назад
examples def0bc530b Add HTTP/2 snippets to all working examples 8 лет назад
src 1470f88319 Fix request body reading in HTTP/2 8 лет назад
test 4ced1d0994 Fix echo_post example 8 лет назад
.gitattributes 4023e7f4e4 Convert the documentation to Asciidoc 9 лет назад
.gitignore 306c2710e9 gitignore: add examples/ dependency files 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 e87438ffb1 Update Ranch to 1.2.1 9 лет назад
README.md 7bdd710849 Completely remove SPDY 9 лет назад
ROADMAP.md 6fd2cadb1d Update ROADMAP 10 лет назад
circle.yml 8fd7364517 Try an experimental Erlang.mk CI feature 9 лет назад
erlang.mk b370442a63 Initial commit with connection/streams 9 лет назад
rebar.config 2620d65fde Fix more HTTP/2 handshake test cases 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 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