Package erlang-cowboy

Small, fast, modular HTTP server written in Erlang

Library Functions (Section 3)
The cowboy module provides convenience functions for manipulating Ranch listeners.
The cowboy_handler middleware executes the handler passed through the environment values handler and handler_opts, and adds the result of this execution to the...
The cowboy_loop module implements a handler interface for long running HTTP connections. It is the recommended interface for long polling and server-sent...
The cowboy_middleware behaviour defines the interface used by Cowboy middleware modules. Middlewares process the request sequentially in the order they are...
The cowboy_protocol module implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.
The cowboy_req module provides functions to access, manipulate and respond to requests. The functions in this module follow patterns for their return types...
The cowboy_rest module implements REST semantics on top of the HTTP protocol. This module is a sub protocol that defines many callbacks be implemented by...
The cowboy_router middleware maps the requested host and path to the handler to be used for processing the request. It uses the dispatch rules compiled from the...
The cowboy_spdy module implements SPDY/3 as a Ranch protocol.
The cowboy_static module implements file serving capabilities by using the REST semantics provided by cowboy_rest.
The cowboy_sub_protocol behaviour defines the interface used by modules that implement a protocol on top of HTTP.
The cowboy_websocket module implements the Websocket protocol. This module is a sub protocol that defines four callbacks to be implemented by handlers. The...
Miscellanea (Section 7)
The cowboy application uses the Erlang applications ranch for listening and accepting TCP connections, crypto for establishing Websocket connections, and cowlib...
This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that...