Package erlang-cowboy

Small, fast, modular HTTP server written in Erlang

https://github.com/ninenines/cowboy

Library Functions (Section 3)
cowboy
The cowboy module provides convenience functions for manipulating Ranch listeners.
cowboy_handler
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...
cowboy_loop
The cowboy_loop module implements a handler interface for long running HTTP connections. It is the recommended interface for long polling and server-sent...
cowboy_middleware
The cowboy_middleware behaviour defines the interface used by Cowboy middleware modules. Middlewares process the request sequentially in the order they are...
cowboy_protocol
The cowboy_protocol module implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.
cowboy_req
The cowboy_req module provides functions to access, manipulate and respond to requests. The functions in this module follow patterns for their return types...
cowboy_rest
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...
cowboy_router
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...
cowboy_spdy
The cowboy_spdy module implements SPDY/3 as a Ranch protocol.
cowboy_static
The cowboy_static module implements file serving capabilities by using the REST semantics provided by cowboy_rest.
cowboy_sub_protocol
The cowboy_sub_protocol behaviour defines the interface used by modules that implement a protocol on top of HTTP.
cowboy_websocket
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)
cowboy
The cowboy application uses the Erlang applications ranch for listening and accepting TCP connections, crypto for establishing Websocket connections, and cowlib...
HTTP_status_codes
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...