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
|
|
|
|
|
|
|
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)
|
|
|
|
* HEAD/GET requests flowchart
|
|
|
|
* POST/PUT/PATCH requests flowchart
|
|
|
|
* DELETE requests flowchart
|
|
|
|
* OPTIONS requests flowchart
|
|
|
|
* Designing a REST API
|
|
|
|
|
|
|
|
Multipart
|
|
|
|
---------
|
|
|
|
|
|
|
|
* Understanding multipart
|
2014-02-06 19:36:25 +01:00
|
|
|
* [Multipart requests](multipart_req.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
* Multipart responses
|
|
|
|
|
|
|
|
Server push technologies
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
* Push technologies
|
|
|
|
* [Using loop handlers for server push](loop_handlers.md)
|
|
|
|
* CORS
|
|
|
|
|
|
|
|
Using Websocket
|
|
|
|
---------------
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
Advanced HTTP
|
|
|
|
-------------
|
|
|
|
|
|
|
|
* Authentication
|
|
|
|
* Sessions
|
|
|
|
|
|
|
|
Advanced Cowboy usage
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
* Optimization guide
|
2013-01-01 18:27:41 +01:00
|
|
|
* [Hooks](hooks.md)
|
2013-01-03 22:47:51 +01:00
|
|
|
* [Middlewares](middlewares.md)
|
2013-09-16 23:51:09 +02:00
|
|
|
* Access and error logs
|
|
|
|
* Handling broken clients
|
|
|
|
* HTTP header names
|
|
|
|
* HTTP/1.1 streaming not chunked
|
|
|
|
|
|
|
|
Old guide misc
|
|
|
|
--------------
|
|
|
|
|
|
|
|
This section will be removed as content is moved into other chapters.
|
|
|
|
|
|
|
|
* [Handlers](handlers.md)
|
2013-01-01 18:27:41 +01:00
|
|
|
* [Internals](internals.md)
|
2013-03-22 19:59:35 +01:00
|
|
|
* [Resources](resources.md)
|