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

Alex Prut b58093a3c7 Update websocket documentation: based on https://github.com/ninenines/cowboy/blob/master/examples/websocket/src/ws_handler.erl 8 years ago
doc b58093a3c7 Update websocket documentation: based on https://github.com/ninenines/cowboy/blob/master/examples/websocket/src/ws_handler.erl 8 years ago
ebin 7bdd710849 Completely remove SPDY 9 years ago
examples b9ad02d305 Fix websocket example 8 years ago
src c750dd76b4 Send many frames in one TCP send 8 years ago
test 1d01d0fc06 Allow websocket_init/1 to reply/close/hibernate 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 8fc1371df8 Minor documentation fixes 8 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.

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