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

Loïc Hoguin 5477d613f9 Tweak the one-liner description of the project 9 years ago
doc 5477d613f9 Tweak the one-liner description of the project 9 years ago
ebin 5477d613f9 Tweak the one-liner description of the project 9 years ago
examples b9ad02d305 Fix websocket example 9 years ago
src c750dd76b4 Send many frames in one TCP send 9 years ago
test 1d01d0fc06 Allow websocket_init/1 to reply/close/hibernate 9 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 11 years ago
CHANGELOG.md 5be3c5064e Update CHANGELOG 11 years ago
CONTRIBUTING.asciidoc c37852fa2b Update CONTRIBUTING 9 years ago
LICENSE 903594bb87 Update copyright years 11 years ago
Makefile 5477d613f9 Tweak the one-liner description of the project 9 years ago
README.md 5477d613f9 Tweak the one-liner description of the project 9 years ago
ROADMAP.md 6fd2cadb1d Update ROADMAP 11 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 modern HTTP server for Erlang/OTP.

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.

Cowboy is clean and well tested 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