aboutsummaryrefslogtreecommitdiffstats
path: root/guide/toc.md
blob: f30a5bda86b53989d9d7d75b77a439eae7595a80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
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](introduction.md)
   *  Purpose
   *  Prerequisites
   *  Supported platforms
   *  Conventions
 *  [The modern Web](modern_web.md)
   *  The prehistoric Web
   *  HTTP/1.1
   *  REST
   *  Long-polling
   *  HTML5
   *  EventSource
   *  Websocket
   *  SPDY
   *  HTTP/2.0
 *  [Erlang and the Web](erlang_web.md)
   *  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](erlang_beginners.md)
 *  [Getting started](getting_started.md)

Using Cowboy
------------

 *  [Routing](routing.md)
   *  Purpose
   *  Structure
   *  Match syntax
   *  Constraints
   *  Compilation
   *  Live update
 *  [Handlers](handlers.md)
   *  Purpose
   *  Protocol upgrades
   *  Custom protocol upgrades
 *  [HTTP handlers](http_handlers.md)
   *  Purpose
   *  Usage
 *  [Loop handlers](loop_handlers.md)
   *  Purpose
   *  Usage
 *  [Websocket handlers](ws_handlers.md)
   *  Purpose
   *  Usage
 *  [REST handlers](rest_handlers.md)
   *  Purpose
   *  Usage
   *  Flow diagram
   *  Methods
   *  Callbacks
   *  Meta data
   *  Response headers
 *  [Static handlers](static_handlers.md)
   *  Purpose
   *  Usage
   *  MIME type
 *  [Request object](req.md)
   *  Purpose
   *  Request
   *  Request body
   *  Multipart request body
   *  Response
   *  Chunked response
   *  Response preconfiguration
   *  Closing the connection
   *  Reducing the memory footprint
 *  [Hooks](hooks.md)
   *  On request
   *  On response
 *  [Middlewares](middlewares.md)
   *  Purpose
   *  Usage
   *  Configuration
   *  Routing middleware
   *  Handler middleware
 *  [Internals](internals.md)
   *  Architecture
   *  One process for many requests
   *  Lowercase header names
   *  Improving performance
 *  [Resources](resources.md)
   *  Frameworks
   *  Helper libraries
   *  Articles