diff options
Diffstat (limited to 'docs/en/cowboy/2.4/guide/index.html')
-rw-r--r-- | docs/en/cowboy/2.4/guide/index.html | 216 |
1 files changed, 42 insertions, 174 deletions
diff --git a/docs/en/cowboy/2.4/guide/index.html b/docs/en/cowboy/2.4/guide/index.html index 06d3b7fa..9a7ac2e9 100644 --- a/docs/en/cowboy/2.4/guide/index.html +++ b/docs/en/cowboy/2.4/guide/index.html @@ -62,219 +62,87 @@ <h1 class="lined-header"><span>Cowboy User Guide</span></h1> -<div class="sect1"> +<!-- 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--> <h2 id="_rationale">Rationale</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="modern_web/">The modern Web</a> -</p> +<ul><li><a href="modern_web/">The modern Web</a> </li> -<li> -<p> -<a href="erlang_web/">Erlang and the Web</a> -</p> +<li><a href="erlang_web/">Erlang and the Web</a> </li> -</ul></div> -</div> -</div> -<div class="sect1"> +</ul> <h2 id="_introduction">Introduction</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="introduction/">Introduction</a> -</p> +<ul><li><a href="introduction/">Introduction</a> </li> -<li> -<p> -<a href="getting_started/">Getting started</a> -</p> +<li><a href="getting_started/">Getting started</a> </li> -<li> -<p> -<a href="flow_diagram/">Flow diagram</a> -</p> +<li><a href="flow_diagram/">Flow diagram</a> </li> -</ul></div> -</div> -</div> -<div class="sect1"> +</ul> <h2 id="_configuration">Configuration</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="listeners/">Listeners</a> -</p> +<ul><li><a href="listeners/">Listeners</a> </li> -<li> -<p> -<a href="routing/">Routing</a> -</p> +<li><a href="routing/">Routing</a> </li> -<li> -<p> -<a href="constraints/">Constraints</a> -</p> +<li><a href="constraints/">Constraints</a> </li> -</ul></div> -</div> -</div> -<div class="sect1"> +</ul> <h2 id="_handlers">Handlers</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="handlers/">Handlers</a> -</p> +<ul><li><a href="handlers/">Handlers</a> </li> -<li> -<p> -<a href="loop_handlers/">Loop handlers</a> -</p> +<li><a href="loop_handlers/">Loop handlers</a> </li> -<li> -<p> -<a href="static_files/">Static files</a> -</p> +<li><a href="static_files/">Static files</a> </li> -</ul></div> -</div> -</div> -<div class="sect1"> +</ul> <h2 id="_request_and_response">Request and response</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="req/">Request details</a> -</p> +<ul><li><a href="req/">Request details</a> </li> -<li> -<p> -<a href="req_body/">Reading the request body</a> -</p> +<li><a href="req_body/">Reading the request body</a> </li> -<li> -<p> -<a href="resp/">Sending a response</a> -</p> +<li><a href="resp/">Sending a response</a> </li> -<li> -<p> -<a href="cookies/">Using cookies</a> -</p> +<li><a href="cookies/">Using cookies</a> </li> -<li> -<p> -<a href="multipart/">Multipart</a> -</p> +<li><a href="multipart/">Multipart</a> </li> -</ul></div> -</div> -</div> -<div class="sect1"> +</ul> <h2 id="_rest">REST</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="rest_principles/">REST principles</a> -</p> +<ul><li><a href="rest_principles/">REST principles</a> </li> -<li> -<p> -<a href="rest_handlers/">Handling REST requests</a> -</p> +<li><a href="rest_handlers/">Handling REST requests</a> </li> -<li> -<p> -<a href="rest_flowcharts/">REST flowcharts</a> -</p> +<li><a href="rest_flowcharts/">REST flowcharts</a> </li> -<li> -<p> -<a href="resource_design/">Designing a resource handler</a> -</p> +<li><a href="resource_design/">Designing a resource handler</a> </li> -</ul></div> -</div> -</div> -<div class="sect1"> +</ul> <h2 id="_websocket">Websocket</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="ws_protocol/">The Websocket protocol</a> -</p> +<ul><li><a href="ws_protocol/">The Websocket protocol</a> </li> -<li> -<p> -<a href="ws_handlers/">Websocket handlers</a> -</p> +<li><a href="ws_handlers/">Websocket handlers</a> </li> -</ul></div> -</div> -</div> -<div class="sect1"> +</ul> <h2 id="_advanced">Advanced</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="streams/">Streams</a> -</p> +<ul><li><a href="streams/">Streams</a> </li> -<li> -<p> -<a href="middlewares/">Middlewares</a> -</p> +<li><a href="middlewares/">Middlewares</a> </li> -</ul></div> -</div> -</div> -<div class="sect1"> +</ul> <h2 id="_additional_information">Additional information</h2> -<div class="sectionbody"> -<div class="ulist"><ul> -<li> -<p> -<a href="migrating_from_2.3/">Migrating from Cowboy 2.3 to 2.4</a> -</p> +<ul><li><a href="migrating_from_2.3/">Migrating from Cowboy 2.3 to 2.4</a> </li> -<li> -<p> -<a href="migrating_from_2.2/">Migrating from Cowboy 2.2 to 2.3</a> -</p> +<li><a href="migrating_from_2.2/">Migrating from Cowboy 2.2 to 2.3</a> </li> -<li> -<p> -<a href="migrating_from_2.1/">Migrating from Cowboy 2.1 to 2.2</a> -</p> +<li><a href="migrating_from_2.1/">Migrating from Cowboy 2.1 to 2.2</a> </li> -<li> -<p> -<a href="migrating_from_2.0/">Migrating from Cowboy 2.0 to 2.1</a> -</p> +<li><a href="migrating_from_2.0/">Migrating from Cowboy 2.0 to 2.1</a> </li> -<li> -<p> -<a href="migrating_from_1.0/">Migrating from Cowboy 1.0 to 2.0</a> -</p> +<li><a href="migrating_from_1.0/">Migrating from Cowboy 1.0 to 2.0</a> </li> -<li> -<p> -<a href="specs/">HTTP and other specifications</a> -</p> +<li><a href="specs/">HTTP and other specifications</a> </li> -</ul></div> -</div> -</div> +</ul> + |