Skip to content
Small, fast, modern HTTP server for Erlang/OTP.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc/src
ebin
examples Accept a broader media type as input in rest_pastebin example Nov 1, 2018
src Move many old HTTP test cases to the rest_handler test suite Nov 21, 2018
test Don't error out when h2spec can't be compiled Mar 10, 2019
.gitattributes Convert the documentation to Asciidoc Jan 14, 2016
.gitignore
CONTRIBUTING.asciidoc
LICENSE Welcome to 2017 Jan 2, 2017
Makefile
README.asciidoc Prepare the Cowboy 2.6 release Nov 17, 2018
erlang.mk Update erlang.mk Sep 12, 2018
plugins.mk Allow passing options to sub protocols Feb 18, 2017
rebar.config Update Ranch to 1.7.1 Nov 28, 2018

README.asciidoc

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.

Online documentation

Offline documentation

  • While still online, run make docs

  • User guide available in doc/ in PDF and HTML formats

  • 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 Asciidoc available in doc/src/

  • Examples available in examples/

Getting help

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.