mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
2.1 KiB
2.1 KiB
Cowboy User Guide
The Cowboy User Guide explores the modern Web and how to make best use of Cowboy for writing powerful web applications.
Introducing Cowboy
- Introduction
- Purpose
- Prerequisites
- Supported platforms
- Conventions
- The modern Web
- The prehistoric Web
- HTTP/1.1
- REST
- Long-polling
- HTML5
- EventSource
- Websocket
- SPDY
- HTTP/2.0
- Erlang and the Web
- The Web is concurrent
- The Web is soft real time
- The Web is asynchronous
- The Web is omnipresent
- Erlang is the ideal platform for the Web
- Erlang for beginners
- Getting started
Using Cowboy
- Routing
- Purpose
- Structure
- Match syntax
- Constraints
- Compilation
- Live update
- Handlers
- Purpose
- Protocol upgrades
- Custom protocol upgrades
- HTTP handlers
- Purpose
- Usage
- Loop handlers
- Purpose
- Usage
- Websocket handlers
- Purpose
- Usage
- REST handlers
- Purpose
- Usage
- Flow diagram
- Methods
- Callbacks
- Meta data
- Response headers
- Static handlers
- Purpose
- Usage
- MIME type
- Request object
- Purpose
- Request
- Request body
- Multipart request body
- Response
- Chunked response
- Response preconfiguration
- Closing the connection
- Reducing the memory footprint
- Hooks
- On request
- On response
- Middlewares
- Purpose
- Usage
- Configuration
- Routing middleware
- Handler middleware
- Internals
- Architecture
- One process for many requests
- Lowercase header names
- Improving performance
- Resources
- Frameworks
- Helper libraries
- Articles