2016-01-14 13:35:25 +01:00
|
|
|
// a2x: --dblatex-opts "-P latex.output.revhistory=0 -P doc.publisher.show=0 -P index.numbered=0"
|
2016-08-30 14:18:14 +02:00
|
|
|
// a2x: --dblatex-opts "-s cowboy"
|
2016-01-14 13:35:25 +01:00
|
|
|
// a2x: -d book --attribute tabsize=4
|
|
|
|
|
|
|
|
= Cowboy User Guide
|
|
|
|
|
2016-05-24 14:50:27 +02:00
|
|
|
// REST: where should i handle bindings? init, probably. qs? in media type functions
|
|
|
|
// REST: explain how a module per media type is good; module may be shared between client/server
|
|
|
|
|
2016-01-14 13:35:25 +01:00
|
|
|
= Rationale
|
|
|
|
|
|
|
|
include::modern_web.asciidoc[The modern Web]
|
|
|
|
|
|
|
|
include::erlang_web.asciidoc[Erlang and the Web]
|
|
|
|
|
|
|
|
= Introduction
|
|
|
|
|
|
|
|
include::introduction.asciidoc[Introduction]
|
|
|
|
|
|
|
|
include::getting_started.asciidoc[Getting started]
|
|
|
|
|
2016-05-24 14:50:27 +02:00
|
|
|
include::flow_diagram.asciidoc[Flow diagram]
|
2016-01-14 13:35:25 +01:00
|
|
|
|
|
|
|
= Configuration
|
|
|
|
|
2016-05-24 14:50:27 +02:00
|
|
|
include::listeners.asciidoc[Listeners]
|
2016-01-14 13:35:25 +01:00
|
|
|
|
2016-05-24 14:50:27 +02:00
|
|
|
include::routing.asciidoc[Routing]
|
2016-01-14 13:35:25 +01:00
|
|
|
|
2016-05-24 14:50:27 +02:00
|
|
|
include::constraints.asciidoc[Constraints]
|
|
|
|
|
|
|
|
= Handlers
|
2016-01-14 13:35:25 +01:00
|
|
|
|
|
|
|
include::handlers.asciidoc[Handlers]
|
|
|
|
|
|
|
|
include::loop_handlers.asciidoc[Loop handlers]
|
|
|
|
|
2016-05-24 14:50:27 +02:00
|
|
|
include::static_files.asciidoc[Static files]
|
|
|
|
|
|
|
|
= Request and response
|
|
|
|
|
|
|
|
include::req.asciidoc[Request details]
|
2016-01-14 13:35:25 +01:00
|
|
|
|
|
|
|
include::req_body.asciidoc[Reading the request body]
|
|
|
|
|
|
|
|
include::resp.asciidoc[Sending a response]
|
|
|
|
|
|
|
|
include::cookies.asciidoc[Using cookies]
|
|
|
|
|
|
|
|
include::multipart.asciidoc[Multipart]
|
|
|
|
|
|
|
|
= REST
|
|
|
|
|
|
|
|
include::rest_principles.asciidoc[REST principles]
|
|
|
|
|
|
|
|
include::rest_handlers.asciidoc[Handling REST requests]
|
|
|
|
|
|
|
|
include::rest_flowcharts.asciidoc[REST flowcharts]
|
|
|
|
|
|
|
|
include::resource_design.asciidoc[Designing a resource handler]
|
|
|
|
|
|
|
|
= Websocket
|
|
|
|
|
|
|
|
include::ws_protocol.asciidoc[The Websocket protocol]
|
|
|
|
|
2017-01-02 14:20:15 +01:00
|
|
|
include::ws_handlers.asciidoc[Websocket handlers]
|
2016-01-14 13:35:25 +01:00
|
|
|
|
2017-01-02 14:20:15 +01:00
|
|
|
= Advanced
|
2016-01-14 13:35:25 +01:00
|
|
|
|
2017-01-02 14:20:15 +01:00
|
|
|
include::streams.asciidoc[Streams]
|
2016-01-14 13:35:25 +01:00
|
|
|
|
|
|
|
include::middlewares.asciidoc[Middlewares]
|
|
|
|
|
2017-03-20 14:21:42 +01:00
|
|
|
= Additional information
|
2017-01-02 14:20:15 +01:00
|
|
|
|
2019-10-07 17:48:45 +02:00
|
|
|
include::migrating_from_2.6.asciidoc[Migrating from Cowboy 2.6 to 2.7]
|
2018-11-28 12:15:17 +01:00
|
|
|
|
2018-11-17 13:34:51 +01:00
|
|
|
include::migrating_from_2.5.asciidoc[Migrating from Cowboy 2.5 to 2.6]
|
|
|
|
|
2018-09-12 14:59:42 +02:00
|
|
|
include::migrating_from_2.4.asciidoc[Migrating from Cowboy 2.4 to 2.5]
|
|
|
|
|
2018-04-30 15:12:09 +02:00
|
|
|
include::migrating_from_2.3.asciidoc[Migrating from Cowboy 2.3 to 2.4]
|
|
|
|
|
2018-03-28 18:15:40 +02:00
|
|
|
include::migrating_from_2.2.asciidoc[Migrating from Cowboy 2.2 to 2.3]
|
2018-01-23 17:01:17 +01:00
|
|
|
|
2017-12-11 11:00:47 +01:00
|
|
|
include::migrating_from_2.1.asciidoc[Migrating from Cowboy 2.1 to 2.2]
|
|
|
|
|
2017-11-08 14:05:30 +00:00
|
|
|
include::migrating_from_2.0.asciidoc[Migrating from Cowboy 2.0 to 2.1]
|
|
|
|
|
2017-07-19 00:47:55 +02:00
|
|
|
include::migrating_from_1.0.asciidoc[Migrating from Cowboy 1.0 to 2.0]
|
2017-01-02 14:20:15 +01:00
|
|
|
|
2017-03-20 14:21:42 +01:00
|
|
|
include::specs.asciidoc[HTTP and other specifications]
|