2012-10-15 14:35:52 +02:00
|
|
|
Cowboy User Guide
|
|
|
|
=================
|
|
|
|
|
2013-06-27 00:02:12 +02:00
|
|
|
The Cowboy User Guide explores the modern Web and how to make
|
|
|
|
best use of Cowboy for writing powerful web applications.
|
|
|
|
|
|
|
|
Introducing Cowboy
|
|
|
|
------------------
|
|
|
|
|
2012-10-15 14:35:52 +02:00
|
|
|
* [Introduction](introduction.md)
|
2013-06-27 00:02:12 +02:00
|
|
|
* [The modern Web](modern_web.md)
|
|
|
|
* [Erlang and the Web](erlang_web.md)
|
|
|
|
* [Erlang for beginners](erlang_beginners.md)
|
|
|
|
* [Getting started](getting_started.md)
|
|
|
|
|
2013-09-16 23:51:09 +02:00
|
|
|
HTTP
|
|
|
|
----
|
2013-06-27 00:02:12 +02:00
|
|
|
|
2013-09-16 23:51:09 +02:00
|
|
|
* [The life of a request](http_req_life.md)
|
2013-01-01 18:27:41 +01:00
|
|
|
* [Routing](routing.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
* [Handling plain HTTP requests](http_handlers.md)
|
|
|
|
* [The Req object](req.md)
|
2013-09-23 15:44:10 +02:00
|
|
|
* [Reading the request body](req_body.md)
|
|
|
|
* [Sending a response](resp.md)
|
|
|
|
* [Using cookies](cookies.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
|
2014-06-25 11:23:58 +02:00
|
|
|
Multipart
|
|
|
|
---------
|
|
|
|
|
|
|
|
* [Introduction to multipart](multipart_intro.md)
|
|
|
|
* [Multipart requests](multipart_req.md)
|
|
|
|
|
2013-09-16 23:51:09 +02:00
|
|
|
Static files
|
|
|
|
------------
|
|
|
|
|
2013-11-02 14:41:46 +01:00
|
|
|
* [Static handler](static_handlers.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
|
|
|
|
REST
|
|
|
|
----
|
|
|
|
|
2014-06-04 15:28:27 +02:00
|
|
|
* [REST principles](rest_principles.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
* [Handling REST requests](rest_handlers.md)
|
2014-06-21 18:50:50 +02:00
|
|
|
* [REST flowcharts](rest_flowcharts.md)
|
2014-07-01 14:06:20 +02:00
|
|
|
* [Designing a resource handler](resource_design.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
|
2014-06-25 11:23:58 +02:00
|
|
|
Websocket
|
2013-09-16 23:51:09 +02:00
|
|
|
---------
|
|
|
|
|
2014-03-03 16:59:02 +01:00
|
|
|
* [The Websocket protocol](ws_protocol.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
* [Handling Websocket connections](ws_handlers.md)
|
|
|
|
|
2014-06-25 11:23:58 +02:00
|
|
|
Server push
|
|
|
|
-----------
|
2013-09-16 23:51:09 +02:00
|
|
|
|
2014-06-25 11:23:58 +02:00
|
|
|
* [Loop handlers](loop_handlers.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
|
2014-06-25 11:23:58 +02:00
|
|
|
Pluggable interface
|
|
|
|
-------------------
|
2013-09-16 23:51:09 +02:00
|
|
|
|
2013-01-03 22:47:51 +01:00
|
|
|
* [Middlewares](middlewares.md)
|
2014-06-25 11:23:58 +02:00
|
|
|
* [Protocol upgrades](upgrade_protocol.md)
|
|
|
|
* [Hooks](hooks.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
|
2014-06-25 11:23:58 +02:00
|
|
|
Internals
|
|
|
|
---------
|
2013-09-16 23:51:09 +02:00
|
|
|
|
2014-06-25 11:23:58 +02:00
|
|
|
* [Architecture](architecture.md)
|
|
|
|
* [Dealing with broken clients](broken_clients.md)
|