From a39620a78352079d98eeeb7ba8deeaf9c3b6b371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 30 Aug 2016 13:13:58 +0200 Subject: Update documentation --- _build/Makefile | 2 +- articles/cowboy2-qs/index.html | 2 +- articles/erlang-scalability/index.html | 2 +- articles/erlang-validate-utf8/index.html | 2 +- articles/erlang.mk-and-relx/index.html | 2 +- .../index.html | 2 +- articles/erlanger-playbook/index.html | 2 +- articles/farwest-funded/index.html | 2 +- articles/index.html | 2 +- articles/january-2014-status/index.html | 2 +- articles/ml-archives/index.html | 2 +- articles/on-open-source/index.html | 2 +- articles/ranch-ftp/index.html | 2 +- articles/the-story-so-far/index.html | 2 +- articles/tictactoe/index.html | 2 +- articles/website-update/index.html | 2 +- articles/xerl-0.1-empty-modules/index.html | 2 +- articles/xerl-0.2-two-modules/index.html | 2 +- articles/xerl-0.3-atomic-expressions/index.html | 2 +- articles/xerl-0.4-expression-separator/index.html | 2 +- articles/xerl-0.5-intermediate-module/index.html | 2 +- categories/index.html | 2 +- docs/en/cowboy/2.0/guide/architecture/index.html | 2 +- docs/en/cowboy/2.0/guide/broken_clients/index.html | 2 +- docs/en/cowboy/2.0/guide/constraints/index.html | 2 +- docs/en/cowboy/2.0/guide/cookies/index.html | 2 +- docs/en/cowboy/2.0/guide/erlang_web/index.html | 2 +- docs/en/cowboy/2.0/guide/flow_diagram.asciidoc | 3 + docs/en/cowboy/2.0/guide/flow_diagram/index.html | 143 ++++ docs/en/cowboy/2.0/guide/getting_started.asciidoc | 2 +- .../en/cowboy/2.0/guide/getting_started/index.html | 13 +- docs/en/cowboy/2.0/guide/handlers/index.html | 2 +- docs/en/cowboy/2.0/guide/hooks/index.html | 2 +- docs/en/cowboy/2.0/guide/index.html | 2 +- docs/en/cowboy/2.0/guide/introduction/index.html | 2 +- docs/en/cowboy/2.0/guide/loop_handlers/index.html | 2 +- docs/en/cowboy/2.0/guide/middlewares/index.html | 2 +- docs/en/cowboy/2.0/guide/modern_web/index.html | 2 +- docs/en/cowboy/2.0/guide/multipart/index.html | 2 +- docs/en/cowboy/2.0/guide/overview/index.html | 2 +- docs/en/cowboy/2.0/guide/req/index.html | 2 +- docs/en/cowboy/2.0/guide/req_body/index.html | 2 +- .../en/cowboy/2.0/guide/resource_design/index.html | 2 +- docs/en/cowboy/2.0/guide/resp/index.html | 2 +- .../en/cowboy/2.0/guide/rest_flowcharts/index.html | 2 +- docs/en/cowboy/2.0/guide/rest_handlers.asciidoc | 3 +- docs/en/cowboy/2.0/guide/rest_handlers/index.html | 192 ++++- .../en/cowboy/2.0/guide/rest_principles/index.html | 2 +- docs/en/cowboy/2.0/guide/routing/index.html | 2 +- docs/en/cowboy/2.0/guide/static_files/index.html | 2 +- docs/en/cowboy/2.0/guide/sub_protocols/index.html | 2 +- docs/en/cowboy/2.0/guide/ws_handlers/index.html | 2 +- docs/en/cowboy/2.0/guide/ws_protocol/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_app/index.html | 2 +- .../en/cowboy/2.0/manual/cowboy_handler/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_loop/index.html | 2 +- .../cowboy/2.0/manual/cowboy_middleware/index.html | 2 +- .../cowboy/2.0/manual/cowboy_protocol/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_req/index.html | 3 +- docs/en/cowboy/2.0/manual/cowboy_rest/index.html | 845 ++++++++++++++++++++- docs/en/cowboy/2.0/manual/cowboy_router/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_static/index.html | 2 +- .../2.0/manual/cowboy_sub_protocol/index.html | 2 +- .../cowboy/2.0/manual/cowboy_websocket/index.html | 2 +- .../cowboy/2.0/manual/http_status_codes/index.html | 2 +- docs/en/cowboy/2.0/manual/index.html | 2 +- docs/en/erlang.mk/1/guide/app/index.html | 2 +- docs/en/erlang.mk/1/guide/asciidoc/index.html | 2 +- docs/en/erlang.mk/1/guide/ci/index.html | 2 +- docs/en/erlang.mk/1/guide/common_test/index.html | 2 +- docs/en/erlang.mk/1/guide/compat/index.html | 2 +- docs/en/erlang.mk/1/guide/contributing/index.html | 2 +- docs/en/erlang.mk/1/guide/coverage/index.html | 2 +- docs/en/erlang.mk/1/guide/deps/index.html | 2 +- docs/en/erlang.mk/1/guide/dialyzer/index.html | 2 +- docs/en/erlang.mk/1/guide/edoc/index.html | 2 +- docs/en/erlang.mk/1/guide/escripts/index.html | 2 +- docs/en/erlang.mk/1/guide/eunit/index.html | 2 +- .../erlang.mk/1/guide/external_plugins/index.html | 2 +- .../1/guide/external_plugins_list/index.html | 2 +- .../erlang.mk/1/guide/getting_started/index.html | 2 +- docs/en/erlang.mk/1/guide/history/index.html | 2 +- docs/en/erlang.mk/1/guide/index.html | 2 +- docs/en/erlang.mk/1/guide/installation/index.html | 2 +- docs/en/erlang.mk/1/guide/limitations/index.html | 2 +- docs/en/erlang.mk/1/guide/overview/index.html | 2 +- docs/en/erlang.mk/1/guide/ports/index.html | 2 +- docs/en/erlang.mk/1/guide/releases/index.html | 2 +- docs/en/erlang.mk/1/guide/shell/index.html | 2 +- docs/en/erlang.mk/1/guide/updating/index.html | 2 +- docs/en/erlang.mk/1/guide/why/index.html | 2 +- docs/en/erlang.mk/1/guide/xref/index.html | 2 +- docs/en/gun/1.0/guide/connect/index.html | 2 +- docs/en/gun/1.0/guide/http/index.html | 2 +- docs/en/gun/1.0/guide/index.html | 2 +- docs/en/gun/1.0/guide/introduction/index.html | 2 +- docs/en/gun/1.0/guide/protocols/index.html | 2 +- docs/en/gun/1.0/guide/start/index.html | 2 +- docs/en/gun/1.0/guide/websocket/index.html | 2 +- docs/en/gun/1.0/manual/gun/index.html | 2 +- docs/en/gun/1.0/manual/gun_app/index.html | 2 +- docs/en/gun/1.0/manual/index.html | 2 +- docs/en/ranch/1.2/guide/embedded/index.html | 2 +- docs/en/ranch/1.2/guide/index.html | 2 +- docs/en/ranch/1.2/guide/internals/index.html | 2 +- docs/en/ranch/1.2/guide/introduction/index.html | 2 +- docs/en/ranch/1.2/guide/listeners/index.html | 2 +- docs/en/ranch/1.2/guide/parsers/index.html | 2 +- docs/en/ranch/1.2/guide/protocols/index.html | 2 +- docs/en/ranch/1.2/guide/ssl_auth/index.html | 2 +- docs/en/ranch/1.2/guide/transports/index.html | 2 +- docs/en/ranch/1.2/manual/index.html | 2 +- docs/en/ranch/1.2/manual/ranch/index.html | 2 +- docs/en/ranch/1.2/manual/ranch_app/index.html | 2 +- docs/en/ranch/1.2/manual/ranch_protocol/index.html | 2 +- docs/en/ranch/1.2/manual/ranch_ssl/index.html | 2 +- docs/en/ranch/1.2/manual/ranch_tcp/index.html | 2 +- .../en/ranch/1.2/manual/ranch_transport/index.html | 2 +- docs/index.html | 2 +- donate/index.html | 4 +- index.html | 4 +- services/index.html | 4 +- sitemap.xml | 5 +- slogan/index.html | 2 +- tags/index.html | 2 +- talks/index.html | 2 +- 127 files changed, 1323 insertions(+), 128 deletions(-) create mode 100644 docs/en/cowboy/2.0/guide/flow_diagram.asciidoc create mode 100644 docs/en/cowboy/2.0/guide/flow_diagram/index.html diff --git a/_build/Makefile b/_build/Makefile index ff546315..54fa7db2 100644 --- a/_build/Makefile +++ b/_build/Makefile @@ -5,7 +5,7 @@ PROJECTS = $(sort $(notdir $(basename $(wildcard data/projects/*.toml)))) all: docs hugo --theme=ninenines -d .. -server: docs +server: hugo server --theme=ninenines clean: DOC_FILES = $(filter-out static/docs/en/cowboy/1.0,$(wildcard static/docs/en/*/*)) diff --git a/articles/cowboy2-qs/index.html b/articles/cowboy2-qs/index.html index 6a95b20f..c3a5ce9c 100644 --- a/articles/cowboy2-qs/index.html +++ b/articles/cowboy2-qs/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Cowboy 2.0 and query strings diff --git a/articles/erlang-scalability/index.html b/articles/erlang-scalability/index.html index 1b827cb2..2bffc170 100644 --- a/articles/erlang-scalability/index.html +++ b/articles/erlang-scalability/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Erlang Scalability diff --git a/articles/erlang-validate-utf8/index.html b/articles/erlang-validate-utf8/index.html index de198270..1c41f870 100644 --- a/articles/erlang-validate-utf8/index.html +++ b/articles/erlang-validate-utf8/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Validating UTF-8 binaries with Erlang diff --git a/articles/erlang.mk-and-relx/index.html b/articles/erlang.mk-and-relx/index.html index bc3f36d6..7a941eb0 100644 --- a/articles/erlang.mk-and-relx/index.html +++ b/articles/erlang.mk-and-relx/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Build Erlang releases with Erlang.mk and Relx diff --git a/articles/erlanger-playbook-september-2015-update/index.html b/articles/erlanger-playbook-september-2015-update/index.html index f64837e1..0fa1e6ef 100644 --- a/articles/erlanger-playbook-september-2015-update/index.html +++ b/articles/erlanger-playbook-september-2015-update/index.html @@ -7,7 +7,7 @@ - + Nine Nines: The Erlanger Playbook September 2015 Update diff --git a/articles/erlanger-playbook/index.html b/articles/erlanger-playbook/index.html index 35d0fb24..16775ae8 100644 --- a/articles/erlanger-playbook/index.html +++ b/articles/erlanger-playbook/index.html @@ -7,7 +7,7 @@ - + Nine Nines: The Erlanger Playbook diff --git a/articles/farwest-funded/index.html b/articles/farwest-funded/index.html index 907a246e..407c78a0 100644 --- a/articles/farwest-funded/index.html +++ b/articles/farwest-funded/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Farwest got funded! diff --git a/articles/index.html b/articles/index.html index 0f4ca642..87eac123 100644 --- a/articles/index.html +++ b/articles/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Articles diff --git a/articles/january-2014-status/index.html b/articles/january-2014-status/index.html index f2e116d3..cb3341a9 100644 --- a/articles/january-2014-status/index.html +++ b/articles/january-2014-status/index.html @@ -7,7 +7,7 @@ - + Nine Nines: January 2014 status diff --git a/articles/ml-archives/index.html b/articles/ml-archives/index.html index 31514547..8e104759 100644 --- a/articles/ml-archives/index.html +++ b/articles/ml-archives/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Mailing list archived diff --git a/articles/on-open-source/index.html b/articles/on-open-source/index.html index eed93945..97bed96f 100644 --- a/articles/on-open-source/index.html +++ b/articles/on-open-source/index.html @@ -7,7 +7,7 @@ - + Nine Nines: On open source diff --git a/articles/ranch-ftp/index.html b/articles/ranch-ftp/index.html index f760c31a..8fb86f64 100644 --- a/articles/ranch-ftp/index.html +++ b/articles/ranch-ftp/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Build an FTP Server with Ranch in 30 Minutes diff --git a/articles/the-story-so-far/index.html b/articles/the-story-so-far/index.html index 174c42c2..538d0d19 100644 --- a/articles/the-story-so-far/index.html +++ b/articles/the-story-so-far/index.html @@ -7,7 +7,7 @@ - + Nine Nines: The story so far diff --git a/articles/tictactoe/index.html b/articles/tictactoe/index.html index c743e72e..830e3c64 100644 --- a/articles/tictactoe/index.html +++ b/articles/tictactoe/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Erlang Tic Tac Toe diff --git a/articles/website-update/index.html b/articles/website-update/index.html index 5900d1a5..f55e57a5 100644 --- a/articles/website-update/index.html +++ b/articles/website-update/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Website update diff --git a/articles/xerl-0.1-empty-modules/index.html b/articles/xerl-0.1-empty-modules/index.html index 31d34686..7b888725 100644 --- a/articles/xerl-0.1-empty-modules/index.html +++ b/articles/xerl-0.1-empty-modules/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Xerl: empty modules diff --git a/articles/xerl-0.2-two-modules/index.html b/articles/xerl-0.2-two-modules/index.html index f77328bc..0ebbcb00 100644 --- a/articles/xerl-0.2-two-modules/index.html +++ b/articles/xerl-0.2-two-modules/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Xerl: two modules diff --git a/articles/xerl-0.3-atomic-expressions/index.html b/articles/xerl-0.3-atomic-expressions/index.html index 02772de9..377b8147 100644 --- a/articles/xerl-0.3-atomic-expressions/index.html +++ b/articles/xerl-0.3-atomic-expressions/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Xerl: atomic expressions diff --git a/articles/xerl-0.4-expression-separator/index.html b/articles/xerl-0.4-expression-separator/index.html index 116a10df..31ffa0ba 100644 --- a/articles/xerl-0.4-expression-separator/index.html +++ b/articles/xerl-0.4-expression-separator/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Xerl: expression separator diff --git a/articles/xerl-0.5-intermediate-module/index.html b/articles/xerl-0.5-intermediate-module/index.html index 9348943f..0b40ea2a 100644 --- a/articles/xerl-0.5-intermediate-module/index.html +++ b/articles/xerl-0.5-intermediate-module/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Xerl: intermediate module diff --git a/categories/index.html b/categories/index.html index d3bd3627..f6e192c7 100644 --- a/categories/index.html +++ b/categories/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Categories diff --git a/docs/en/cowboy/2.0/guide/architecture/index.html b/docs/en/cowboy/2.0/guide/architecture/index.html index ef816699..ed86e695 100644 --- a/docs/en/cowboy/2.0/guide/architecture/index.html +++ b/docs/en/cowboy/2.0/guide/architecture/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Architecture diff --git a/docs/en/cowboy/2.0/guide/broken_clients/index.html b/docs/en/cowboy/2.0/guide/broken_clients/index.html index 049ee878..a61dadc8 100644 --- a/docs/en/cowboy/2.0/guide/broken_clients/index.html +++ b/docs/en/cowboy/2.0/guide/broken_clients/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Dealing with broken clients diff --git a/docs/en/cowboy/2.0/guide/constraints/index.html b/docs/en/cowboy/2.0/guide/constraints/index.html index f9c072b6..2428e8d4 100644 --- a/docs/en/cowboy/2.0/guide/constraints/index.html +++ b/docs/en/cowboy/2.0/guide/constraints/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Constraints diff --git a/docs/en/cowboy/2.0/guide/cookies/index.html b/docs/en/cowboy/2.0/guide/cookies/index.html index 4aea8eb0..e4c982cc 100644 --- a/docs/en/cowboy/2.0/guide/cookies/index.html +++ b/docs/en/cowboy/2.0/guide/cookies/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Using cookies diff --git a/docs/en/cowboy/2.0/guide/erlang_web/index.html b/docs/en/cowboy/2.0/guide/erlang_web/index.html index 111e2698..08e0c069 100644 --- a/docs/en/cowboy/2.0/guide/erlang_web/index.html +++ b/docs/en/cowboy/2.0/guide/erlang_web/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Erlang and the Web diff --git a/docs/en/cowboy/2.0/guide/flow_diagram.asciidoc b/docs/en/cowboy/2.0/guide/flow_diagram.asciidoc new file mode 100644 index 00000000..93e9051d --- /dev/null +++ b/docs/en/cowboy/2.0/guide/flow_diagram.asciidoc @@ -0,0 +1,3 @@ +== Flow diagram + +Placeholder chapter. diff --git a/docs/en/cowboy/2.0/guide/flow_diagram/index.html b/docs/en/cowboy/2.0/guide/flow_diagram/index.html new file mode 100644 index 00000000..16ddfd8b --- /dev/null +++ b/docs/en/cowboy/2.0/guide/flow_diagram/index.html @@ -0,0 +1,143 @@ + + + + + + + + + + + + Nine Nines: Flow diagram + + + + + + + + + + + + + + + + + + +
+
+
+
+ +

Flow diagram

+ +

Placeholder chapter.

+ + + +
+ +
+ + +

+ Cowboy + 2.0 + + User Guide +

+ + + +

Navigation

+ +

Version select

+ + +
+
+
+
+ + + + + + + + + + + + diff --git a/docs/en/cowboy/2.0/guide/getting_started.asciidoc b/docs/en/cowboy/2.0/guide/getting_started.asciidoc index e9a27567..be11e489 100644 --- a/docs/en/cowboy/2.0/guide/getting_started.asciidoc +++ b/docs/en/cowboy/2.0/guide/getting_started.asciidoc @@ -64,7 +64,7 @@ handler. We will modify the 'Makefile' to tell the build system it needs to fetch and compile Cowboy: -[source,make] +[source,makefile] ---- PROJECT = hello_erlang diff --git a/docs/en/cowboy/2.0/guide/getting_started/index.html b/docs/en/cowboy/2.0/guide/getting_started/index.html index 85cd039d..34957699 100644 --- a/docs/en/cowboy/2.0/guide/getting_started/index.html +++ b/docs/en/cowboy/2.0/guide/getting_started/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Getting started @@ -140,7 +140,16 @@ handler.

We will modify the Makefile to tell the build system it needs to fetch and compile Cowboy:

-
+
+
PROJECT = hello_erlang
+
+DEPS = cowboy
+dep_cowboy_commit = master
+
+include erlang.mk

If you run make run now, Cowboy will be included in the release and started automatically. This is not enough however, as Cowboy doesn’t do anything by default. We still need to tell Cowboy to diff --git a/docs/en/cowboy/2.0/guide/handlers/index.html b/docs/en/cowboy/2.0/guide/handlers/index.html index 790b7d28..c45d1adb 100644 --- a/docs/en/cowboy/2.0/guide/handlers/index.html +++ b/docs/en/cowboy/2.0/guide/handlers/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Handlers diff --git a/docs/en/cowboy/2.0/guide/hooks/index.html b/docs/en/cowboy/2.0/guide/hooks/index.html index 31b73d25..b52ff4e7 100644 --- a/docs/en/cowboy/2.0/guide/hooks/index.html +++ b/docs/en/cowboy/2.0/guide/hooks/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Hooks diff --git a/docs/en/cowboy/2.0/guide/index.html b/docs/en/cowboy/2.0/guide/index.html index 79927caf..325de8e7 100644 --- a/docs/en/cowboy/2.0/guide/index.html +++ b/docs/en/cowboy/2.0/guide/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Cowboy User Guide diff --git a/docs/en/cowboy/2.0/guide/introduction/index.html b/docs/en/cowboy/2.0/guide/introduction/index.html index f302a75f..44548d49 100644 --- a/docs/en/cowboy/2.0/guide/introduction/index.html +++ b/docs/en/cowboy/2.0/guide/introduction/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Introduction diff --git a/docs/en/cowboy/2.0/guide/loop_handlers/index.html b/docs/en/cowboy/2.0/guide/loop_handlers/index.html index 9b25dc97..df99322e 100644 --- a/docs/en/cowboy/2.0/guide/loop_handlers/index.html +++ b/docs/en/cowboy/2.0/guide/loop_handlers/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Loop handlers diff --git a/docs/en/cowboy/2.0/guide/middlewares/index.html b/docs/en/cowboy/2.0/guide/middlewares/index.html index 09894d10..b3c10e5e 100644 --- a/docs/en/cowboy/2.0/guide/middlewares/index.html +++ b/docs/en/cowboy/2.0/guide/middlewares/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Middlewares diff --git a/docs/en/cowboy/2.0/guide/modern_web/index.html b/docs/en/cowboy/2.0/guide/modern_web/index.html index 26f1b213..71a76041 100644 --- a/docs/en/cowboy/2.0/guide/modern_web/index.html +++ b/docs/en/cowboy/2.0/guide/modern_web/index.html @@ -7,7 +7,7 @@ - + Nine Nines: The modern Web diff --git a/docs/en/cowboy/2.0/guide/multipart/index.html b/docs/en/cowboy/2.0/guide/multipart/index.html index 2a443f10..dba83e90 100644 --- a/docs/en/cowboy/2.0/guide/multipart/index.html +++ b/docs/en/cowboy/2.0/guide/multipart/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Multipart requests diff --git a/docs/en/cowboy/2.0/guide/overview/index.html b/docs/en/cowboy/2.0/guide/overview/index.html index 70a191dd..b5c779ff 100644 --- a/docs/en/cowboy/2.0/guide/overview/index.html +++ b/docs/en/cowboy/2.0/guide/overview/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Request overview diff --git a/docs/en/cowboy/2.0/guide/req/index.html b/docs/en/cowboy/2.0/guide/req/index.html index 77987861..342684d4 100644 --- a/docs/en/cowboy/2.0/guide/req/index.html +++ b/docs/en/cowboy/2.0/guide/req/index.html @@ -7,7 +7,7 @@ - + Nine Nines: The Req object diff --git a/docs/en/cowboy/2.0/guide/req_body/index.html b/docs/en/cowboy/2.0/guide/req_body/index.html index 2b0b2a49..f267b82d 100644 --- a/docs/en/cowboy/2.0/guide/req_body/index.html +++ b/docs/en/cowboy/2.0/guide/req_body/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Reading the request body diff --git a/docs/en/cowboy/2.0/guide/resource_design/index.html b/docs/en/cowboy/2.0/guide/resource_design/index.html index 94d6307e..8a4f0227 100644 --- a/docs/en/cowboy/2.0/guide/resource_design/index.html +++ b/docs/en/cowboy/2.0/guide/resource_design/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Designing a resource handler diff --git a/docs/en/cowboy/2.0/guide/resp/index.html b/docs/en/cowboy/2.0/guide/resp/index.html index 0baaa4c9..424a97d3 100644 --- a/docs/en/cowboy/2.0/guide/resp/index.html +++ b/docs/en/cowboy/2.0/guide/resp/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Sending a response diff --git a/docs/en/cowboy/2.0/guide/rest_flowcharts/index.html b/docs/en/cowboy/2.0/guide/rest_flowcharts/index.html index c5ca894b..d54e6a65 100644 --- a/docs/en/cowboy/2.0/guide/rest_flowcharts/index.html +++ b/docs/en/cowboy/2.0/guide/rest_flowcharts/index.html @@ -7,7 +7,7 @@ - + Nine Nines: REST flowcharts diff --git a/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc b/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc index f28c0661..748fca49 100644 --- a/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc +++ b/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc @@ -62,7 +62,8 @@ if it is undefined, moving directly to the next step. Similarly, | allow_missing_post | `true` | charsets_provided | skip | content_types_accepted | none -| content_types_provided | `$$[{{<<"text">>, <<"html">>, '*'}, to_html}]$$` +// @todo Space required for the time being: https://github.com/spf13/hugo/issues/2398 +| content_types_provided | `[{{ <<"text">>, <<"html">>, '*'}, to_html}]` | delete_completed | `true` | delete_resource | `false` | expires | `undefined` diff --git a/docs/en/cowboy/2.0/guide/rest_handlers/index.html b/docs/en/cowboy/2.0/guide/rest_handlers/index.html index 36e87f9e..da6288fb 100644 --- a/docs/en/cowboy/2.0/guide/rest_handlers/index.html +++ b/docs/en/cowboy/2.0/guide/rest_handlers/index.html @@ -7,7 +7,7 @@ - + Nine Nines: REST handlers @@ -151,7 +151,195 @@ cellspacing="0" cellpadding="4">

content_types_provided

-

`$$[

+

[{{ <<"text">>, <<"html">>, '*'}, to_html}]

+ + +

delete_completed

+

true

+ + +

delete_resource

+

false

+ + +

expires

+

undefined

+ + +

forbidden

+

false

+ + +

generate_etag

+

undefined

+ + +

is_authorized

+

true

+ + +

is_conflict

+

false

+ + +

known_methods

+

[<<"GET">>, <<"HEAD">>, <<"POST">>, <<"PUT">>, <<"PATCH">>, <<"DELETE">>, <<"OPTIONS">>]

+ + +

languages_provided

+

skip

+ + +

last_modified

+

undefined

+ + +

malformed_request

+

false

+ + +

moved_permanently

+

false

+ + +

moved_temporarily

+

false

+ + +

multiple_choices

+

false

+ + +

options

+

ok

+ + +

previously_existed

+

false

+ + +

resource_exists

+

true

+ + +

service_available

+

true

+ + +

uri_too_long

+

false

+ + +

valid_content_headers

+

true

+ + +

valid_entity_length

+

true

+ + +

variances

+

[]

+ + + +
+

As you can see, Cowboy tries to move on with the request whenever +possible by using well thought out default values.

+

In addition to these, there can be any number of user-defined +callbacks that are specified through content_types_accepted/2 +and content_types_provided/2. They can take any name, however +it is recommended to use a separate prefix for the callbacks of +each function. For example, from_html and to_html indicate +in the first case that we’re accepting a resource given as HTML, +and in the second case that we send one as HTML.

+ + +
+

Meta data

+
+

Cowboy will set informative meta values at various points of the +execution. You can retrieve them using cowboy_req:meta/{2,3}. +The values are defined in the following table.

+
+ +++ + + + + + + + + + + + + + + + + + + + +
Meta key Details

media_type

The content-type negotiated for the response entity.

language

The language negotiated for the response entity.

charset

The charset negotiated for the response entity.

+
+

They can be used to send a proper body with the response to a +request that used a method other than HEAD or GET.

+
+
+
+

Response headers

+
+

Cowboy will set response headers automatically over the execution +of the REST code. They are listed in the following table.

+
+ +++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Header name Details

content-language

Language used in the response body

content-type

Media type and charset of the response body

etag

Etag of the resource

expires

Expiration date of the resource

last-modified

Last modification date for the resource

location

Relative or absolute URI to the requested resource

vary

List of headers that may change the representation of the resource

diff --git a/docs/en/cowboy/2.0/guide/rest_principles/index.html b/docs/en/cowboy/2.0/guide/rest_principles/index.html index 1b4335dd..9696e420 100644 --- a/docs/en/cowboy/2.0/guide/rest_principles/index.html +++ b/docs/en/cowboy/2.0/guide/rest_principles/index.html @@ -7,7 +7,7 @@ - + Nine Nines: REST principles diff --git a/docs/en/cowboy/2.0/guide/routing/index.html b/docs/en/cowboy/2.0/guide/routing/index.html index 01c5dd7d..b2ba3e8f 100644 --- a/docs/en/cowboy/2.0/guide/routing/index.html +++ b/docs/en/cowboy/2.0/guide/routing/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Routing diff --git a/docs/en/cowboy/2.0/guide/static_files/index.html b/docs/en/cowboy/2.0/guide/static_files/index.html index 0edde8a3..f7ea1472 100644 --- a/docs/en/cowboy/2.0/guide/static_files/index.html +++ b/docs/en/cowboy/2.0/guide/static_files/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Static files diff --git a/docs/en/cowboy/2.0/guide/sub_protocols/index.html b/docs/en/cowboy/2.0/guide/sub_protocols/index.html index 34f7db9b..928d4965 100644 --- a/docs/en/cowboy/2.0/guide/sub_protocols/index.html +++ b/docs/en/cowboy/2.0/guide/sub_protocols/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Sub protocols diff --git a/docs/en/cowboy/2.0/guide/ws_handlers/index.html b/docs/en/cowboy/2.0/guide/ws_handlers/index.html index e8121220..2b0e30a2 100644 --- a/docs/en/cowboy/2.0/guide/ws_handlers/index.html +++ b/docs/en/cowboy/2.0/guide/ws_handlers/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Handling Websocket connections diff --git a/docs/en/cowboy/2.0/guide/ws_protocol/index.html b/docs/en/cowboy/2.0/guide/ws_protocol/index.html index 70ba4917..70a3adfe 100644 --- a/docs/en/cowboy/2.0/guide/ws_protocol/index.html +++ b/docs/en/cowboy/2.0/guide/ws_protocol/index.html @@ -7,7 +7,7 @@ - + Nine Nines: The Websocket protocol diff --git a/docs/en/cowboy/2.0/manual/cowboy/index.html b/docs/en/cowboy/2.0/manual/cowboy/index.html index 7c866e32..22ffc773 100644 --- a/docs/en/cowboy/2.0/manual/cowboy/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy(3) diff --git a/docs/en/cowboy/2.0/manual/cowboy_app/index.html b/docs/en/cowboy/2.0/manual/cowboy_app/index.html index eaba7602..1911749e 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_app/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_app/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy(7) diff --git a/docs/en/cowboy/2.0/manual/cowboy_handler/index.html b/docs/en/cowboy/2.0/manual/cowboy_handler/index.html index 5954d21f..77addc71 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_handler/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_handler/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_handler(3) diff --git a/docs/en/cowboy/2.0/manual/cowboy_loop/index.html b/docs/en/cowboy/2.0/manual/cowboy_loop/index.html index 968131fa..ec558209 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_loop/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_loop/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_loop(3) diff --git a/docs/en/cowboy/2.0/manual/cowboy_middleware/index.html b/docs/en/cowboy/2.0/manual/cowboy_middleware/index.html index 64fce84c..acdc55d3 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_middleware/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_middleware/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_middleware(3) diff --git a/docs/en/cowboy/2.0/manual/cowboy_protocol/index.html b/docs/en/cowboy/2.0/manual/cowboy_protocol/index.html index 4fdda0b9..7efcd20b 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_protocol/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_protocol/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_protocol(3) diff --git a/docs/en/cowboy/2.0/manual/cowboy_req/index.html b/docs/en/cowboy/2.0/manual/cowboy_req/index.html index 99c4915f..0874548c 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_req/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_req/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_req(3) @@ -748,6 +748,7 @@ Extra tokens for the path.

peer(Req) → Peer

+Peer = {inet:ip_address(), inet:port_number()}

diff --git a/docs/en/cowboy/2.0/manual/cowboy_rest/index.html b/docs/en/cowboy/2.0/manual/cowboy_rest/index.html index 7369592c..9d46ab96 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_rest/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_rest/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_rest(3) @@ -428,10 +428,851 @@ Default value

-`[ +[{{ <<"text">>, <<"html">>, '*'}, to_html}]

+

With types:

+
    +
  • +

    +Type = SubType = binary() +

    +
  • +
  • +

    +Params = * | [{binary(), binary()}] +

    +
  • +
  • +

    +ProvideResource = atom() +

    +
  • +
+

Return the list of content-types the resource provides.

+

The list must be ordered in order of preference.

+

Each content-type can be given either as a binary string or as +a tuple containing the type, subtype and parameters.

+

Cowboy will select the most appropriate content-type from the list. +If any parameter is acceptable, then the tuple form should be used +with parameters set to '*'. If the parameters value is set to [] +only content-type values with no parameters will be accepted. All +parameter values are treated in a case sensitive manner except the +charset parameter, if present, which is case insensitive.

+

The ProvideResource value is the name of the callback that will +be called if the content-type matches. It will only be called when +a representation of the resource needs to be returned. It is defined +as follow.

+
+
+Methods +
+
+

+GET, HEAD +

+
+
+Value type +
+
+

+iodata() | {stream, Fun} | {stream, Len, Fun} | {chunked, ChunkedFun} +

+
+
+Default behavior +
+
+

+Crash if undefined. +

+
+
+

Return the response body.

+

The response body may be provided directly or through a fun. +If a fun tuple is returned, the appropriate set_resp_body_fun +function will be called. Please refer to the documentation for +these functions for more information about the types.

+

The call to this callback happens a good time after the call to +content_types_provided/2, when it is time to start rendering +the response body.

+
+
+

delete_completed

+
+
+Methods +
+
+

+DELETE +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+true +

+
+
+

Return whether the delete action has been completed.

+

This function should return false if there is no guarantee +that the resource gets deleted immediately from the system, +including from any internal cache.

+

When this function returns false, a 202 Accepted +response will be sent instead of a 200 OK or 204 No Content.

+
+
+

delete_resource

+
+
+Methods +
+
+

+DELETE +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+false +

+
+
+

Delete the resource.

+

The value returned indicates if the action was successful, +regardless of whether the resource is immediately deleted +from the system.

+
+
+

expires

+
+
+Methods +
+
+

+GET, HEAD +

+
+
+Value type +
+
+

+calendar:datetime() | binary() | undefined +

+
+
+Default value +
+
+

+undefined +

+
+
+

Return the date of expiration of the resource.

+

This date will be sent as the value of the expires header.

+
+
+

forbidden

+
+
+Methods +
+
+

+all +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+false +

+
+
+

Return whether access to the resource is forbidden.

+

A 403 Forbidden response will be sent if this +function returns true. This status code means that +access is forbidden regardless of authentication, +and that the request shouldn’t be repeated.

+
+
+

generate_etag

+
+
+Methods +
+
+

+GET, HEAD, POST, PUT, PATCH, DELETE +

+
+
+Value type +
+
+

+binary() | {weak | strong, binary()} +

+
+
+Default value +
+
+

+undefined +

+
+
+

Return the entity tag of the resource.

+

This value will be sent as the value of the etag header.

+

If a binary is returned, then the value will be parsed +to the tuple form automatically. The value must be in +the same format as the etag header, including quotes.

+
+
+

is_authorized

+
+
+Methods +
+
+

+all +

+
+
+Value type +
+
+

+true | {false, AuthHeader} +

+
+
+Default value +
+
+

+true +

+
+
+

With types:

+
    +
  • +

    +AuthHead = iodata() +

    +
  • +
+

Return whether the user is authorized to perform the action.

+

This function should be used to perform any necessary +authentication of the user before attempting to perform +any action on the resource.

+

If the authentication fails, the value returned will be sent +as the value for the www-authenticate header in the +401 Unauthorized response.

+
+
+

is_conflict

+
+
+Methods +
+
+

+PUT +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+false +

+
+
+

Return whether the put action results in a conflict.

+

A 409 Conflict response will be sent if this function +returns true.

+
+
+

known_methods

+
+
+Methods +
+
+

+all +

+
+
+Value type +
+
+

+[binary()] +

+
+
+Default value +
+
+

+[<<"GET">>, <<"HEAD">>, <<"POST">>, <<"PUT">>, <<"PATCH">>, <<"DELETE">>, <<"OPTIONS">>] +

+
+
+

Return the list of known methods.

+

The full list of methods known by the server should be +returned, regardless of their use in the resource.

+

The default value lists the methods Cowboy knows and +implement in cowboy_rest.

+

Methods are case sensitive. Standard methods are always uppercase.

+
+
+

languages_provided

+
+
+Methods +
+
+

+GET, HEAD, POST, PUT, PATCH, DELETE +

+
+
+Value type +
+
+

+[binary()] +

+
+
+Default behavior +
+
+

+Skip to the next step if undefined. +

+
+
+

Return the list of languages the resource provides.

+

The list must be ordered in order of preference.

+

If the accept-language header was not sent, the first language +in the list will be selected. Otherwise Cowboy will select +the most appropriate language from the list.

+

The chosen language will be set in the Req object as the meta +value language.

+

While languages are case insensitive, this callback is expected +to return them as lowercase binary.

+
+
+

last_modified

+
+
+Methods +
+
+

+GET, HEAD, POST, PUT, PATCH, DELETE +

+
+
+Value type +
+
+

+calendar:datetime() +

+
+
+Default value +
+
+

+undefined +

+
+
+

Return the date of last modification of the resource.

+

This date will be used to test against the if-modified-since +and if-unmodified-since headers, and sent as the last-modified +header in the response of GET and HEAD requests.

+
+
+

malformed_request

+
+
+Methods +
+
+

+all +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+false +

+
+
+

Return whether the request is malformed.

+

Cowboy has already performed all the necessary checks +by the time this function is called, so few resources +are expected to implement it.

+

The check is to be done on the request itself, not on +the request body, which is processed later.

+
+
+

moved_permanently

+
+
+Methods +
+
+

+GET, HEAD, POST, PUT, PATCH, DELETE +

+
+
+Value type +
+
+

+{true, URL} | false +

+
+
+Default value +
+
+

+false +

+
+
+

With types:

+
    +
  • +

    +URL = iodata() +

    +
  • +
+

Return whether the resource was permanently moved.

+

If it was, its new URL is also returned and sent in the +location header in the response.

+
+
+

moved_temporarily

+
+
+Methods +
+
+

+GET, HEAD, POST, PATCH, DELETE +

+
+
+Value type +
+
+

+{true, URL} | false +

+
+
+Default value +
+
+

+false +

+
+
+

With types:

+
    +
  • +

    +URL = iodata() +

    +
  • +
+

Return whether the resource was temporarily moved.

+

If it was, its new URL is also returned and sent in the +location header in the response.

+
+
+

multiple_choices

+
+
+Methods +
+
+

+GET, HEAD, POST, PUT, PATCH, DELETE +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+false +

+
+
+

Return whether there are multiple representations of the resource.

+

This function should be used to inform the client if there +are different representations of the resource, for example +different content-type. If this function returns true, +the response body should include information about these +different representations using cowboy_req:set_resp_body/2. +The content-type of the response should be the one previously +negociated and that can be obtained by calling +cowboy_req:meta(media_type, Req).

+
+
+

options

+
+
+Methods +
+
+

+OPTIONS +

+
+
+Value type +
+
+

+ok +

+
+
+Default value +
+
+

+ok +

+
+
+

Handle a request for information.

+

The response should inform the client the communication +options available for this resource.

+

By default, Cowboy will send a 200 OK response with the +allow header set.

+
+
+

previously_existed

+
+
+Methods +
+
+

+GET, HEAD, POST, PATCH, DELETE +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+false +

+
+
+

Return whether the resource existed previously.

+
+
+

resource_exists

+
+
+Methods +
+
+

+GET, HEAD, POST, PUT, PATCH, DELETE +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+true +

+
+
+

Return whether the resource exists.

+

If it exists, conditional headers will be tested before +attempting to perform the action. Otherwise, Cowboy will +check if the resource previously existed first.

+
+
+

service_available

+
+
+Methods +
+
+

+all +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+true +

+
+
+

Return whether the service is available.

+

This function can be used to test that all relevant backend +systems are up and able to handle requests.

+

A 503 Service Unavailable response will be sent if this +function returns false.

+
+
+

uri_too_long

+
+
+Methods +
+
+

+all +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+false +

+
+
+

Return whether the requested URI is too long.

+

Cowboy has already performed all the necessary checks +by the time this function is called, so few resources +are expected to implement it.

+

A 414 Request-URI Too Long response will be sent if this +function returns true.

+
+
+

valid_content_headers

+
+
+Methods +
+
+

+all +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+true +

+
+
+

Return whether the content-* headers are valid.

+

This also applies to the transfer-encoding header. This +function must return false for any unknown content-* +headers, or if the headers can’t be understood. The +function cowboy_req:parse_header/2 can be used to +quickly check the headers can be parsed.

+

A 501 Not Implemented response will be sent if this +function returns false.

+
+
+

valid_entity_length

+
+
+Methods +
+
+

+all +

+
+
+Value type +
+
+

+boolean() +

+
+
+Default value +
+
+

+true +

+
+
+

Return whether the request body length is within acceptable boundaries.

+

A 413 Request Entity Too Large response will be sent if this +function returns false.

+
+
+

variances

+
+
+Methods +
+
+

+GET, HEAD, POST, PUT, PATCH, DELETE +

+
+
+Value type +
+
+

+[binary()] +

+
+
+Default value +
+
+

+[] +

+
+
+

Return the list of headers that affect the representation of the resource.

+

These request headers return the same resource but with different +parameters, like another language or a different content-type.

+

Cowboy will automatically add the accept, accept-language and +accept-charset headers to the list if the respective functions +were defined in the resource.

+

This operation is performed right before the resource_exists/2 +callback. All responses past that point will contain the vary +header which holds this list.

diff --git a/docs/en/cowboy/2.0/manual/cowboy_router/index.html b/docs/en/cowboy/2.0/manual/cowboy_router/index.html index bdf6eb01..7a60003a 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_router/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_router/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_router(3) diff --git a/docs/en/cowboy/2.0/manual/cowboy_static/index.html b/docs/en/cowboy/2.0/manual/cowboy_static/index.html index 62929c59..8ac7fd51 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_static/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_static/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_static(3) diff --git a/docs/en/cowboy/2.0/manual/cowboy_sub_protocol/index.html b/docs/en/cowboy/2.0/manual/cowboy_sub_protocol/index.html index 9559d6c4..78fd7ffa 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_sub_protocol/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_sub_protocol/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_sub_protocol(3) diff --git a/docs/en/cowboy/2.0/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.0/manual/cowboy_websocket/index.html index 8b3790c4..8359987a 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_websocket/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_websocket/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_websocket(3) diff --git a/docs/en/cowboy/2.0/manual/http_status_codes/index.html b/docs/en/cowboy/2.0/manual/http_status_codes/index.html index 1af04219..65135d41 100644 --- a/docs/en/cowboy/2.0/manual/http_status_codes/index.html +++ b/docs/en/cowboy/2.0/manual/http_status_codes/index.html @@ -7,7 +7,7 @@ - + Nine Nines: HTTP status codes(7) diff --git a/docs/en/cowboy/2.0/manual/index.html b/docs/en/cowboy/2.0/manual/index.html index 2751944d..0d52d7d4 100644 --- a/docs/en/cowboy/2.0/manual/index.html +++ b/docs/en/cowboy/2.0/manual/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Cowboy Function Reference diff --git a/docs/en/erlang.mk/1/guide/app/index.html b/docs/en/erlang.mk/1/guide/app/index.html index 619c7201..24a4949a 100644 --- a/docs/en/erlang.mk/1/guide/app/index.html +++ b/docs/en/erlang.mk/1/guide/app/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Building diff --git a/docs/en/erlang.mk/1/guide/asciidoc/index.html b/docs/en/erlang.mk/1/guide/asciidoc/index.html index 92bef918..b379b820 100644 --- a/docs/en/erlang.mk/1/guide/asciidoc/index.html +++ b/docs/en/erlang.mk/1/guide/asciidoc/index.html @@ -7,7 +7,7 @@ - + Nine Nines: AsciiDoc documentation diff --git a/docs/en/erlang.mk/1/guide/ci/index.html b/docs/en/erlang.mk/1/guide/ci/index.html index aedef405..2ff04e82 100644 --- a/docs/en/erlang.mk/1/guide/ci/index.html +++ b/docs/en/erlang.mk/1/guide/ci/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Continuous integration diff --git a/docs/en/erlang.mk/1/guide/common_test/index.html b/docs/en/erlang.mk/1/guide/common_test/index.html index 54cefcaf..a568e9e5 100644 --- a/docs/en/erlang.mk/1/guide/common_test/index.html +++ b/docs/en/erlang.mk/1/guide/common_test/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Common Test diff --git a/docs/en/erlang.mk/1/guide/compat/index.html b/docs/en/erlang.mk/1/guide/compat/index.html index cd68a9e6..9bdaa984 100644 --- a/docs/en/erlang.mk/1/guide/compat/index.html +++ b/docs/en/erlang.mk/1/guide/compat/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Compatibility with other build tools diff --git a/docs/en/erlang.mk/1/guide/contributing/index.html b/docs/en/erlang.mk/1/guide/contributing/index.html index a8f35389..e962724c 100644 --- a/docs/en/erlang.mk/1/guide/contributing/index.html +++ b/docs/en/erlang.mk/1/guide/contributing/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Contributing diff --git a/docs/en/erlang.mk/1/guide/coverage/index.html b/docs/en/erlang.mk/1/guide/coverage/index.html index 0be003b8..5c40817e 100644 --- a/docs/en/erlang.mk/1/guide/coverage/index.html +++ b/docs/en/erlang.mk/1/guide/coverage/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Code coverage diff --git a/docs/en/erlang.mk/1/guide/deps/index.html b/docs/en/erlang.mk/1/guide/deps/index.html index 780aaf56..1d33ad50 100644 --- a/docs/en/erlang.mk/1/guide/deps/index.html +++ b/docs/en/erlang.mk/1/guide/deps/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Packages and dependencies diff --git a/docs/en/erlang.mk/1/guide/dialyzer/index.html b/docs/en/erlang.mk/1/guide/dialyzer/index.html index 8846ff60..73ccb91e 100644 --- a/docs/en/erlang.mk/1/guide/dialyzer/index.html +++ b/docs/en/erlang.mk/1/guide/dialyzer/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Dialyzer diff --git a/docs/en/erlang.mk/1/guide/edoc/index.html b/docs/en/erlang.mk/1/guide/edoc/index.html index 49a8a4ee..8d9362b3 100644 --- a/docs/en/erlang.mk/1/guide/edoc/index.html +++ b/docs/en/erlang.mk/1/guide/edoc/index.html @@ -7,7 +7,7 @@ - + Nine Nines: EDoc comments diff --git a/docs/en/erlang.mk/1/guide/escripts/index.html b/docs/en/erlang.mk/1/guide/escripts/index.html index 155ae1d3..ebfecb1a 100644 --- a/docs/en/erlang.mk/1/guide/escripts/index.html +++ b/docs/en/erlang.mk/1/guide/escripts/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Escripts diff --git a/docs/en/erlang.mk/1/guide/eunit/index.html b/docs/en/erlang.mk/1/guide/eunit/index.html index a75d30d4..a3315cb0 100644 --- a/docs/en/erlang.mk/1/guide/eunit/index.html +++ b/docs/en/erlang.mk/1/guide/eunit/index.html @@ -7,7 +7,7 @@ - + Nine Nines: EUnit diff --git a/docs/en/erlang.mk/1/guide/external_plugins/index.html b/docs/en/erlang.mk/1/guide/external_plugins/index.html index cdc8f70b..3dd5ad0b 100644 --- a/docs/en/erlang.mk/1/guide/external_plugins/index.html +++ b/docs/en/erlang.mk/1/guide/external_plugins/index.html @@ -7,7 +7,7 @@ - + Nine Nines: External plugins diff --git a/docs/en/erlang.mk/1/guide/external_plugins_list/index.html b/docs/en/erlang.mk/1/guide/external_plugins_list/index.html index c66915ec..2afa0d97 100644 --- a/docs/en/erlang.mk/1/guide/external_plugins_list/index.html +++ b/docs/en/erlang.mk/1/guide/external_plugins_list/index.html @@ -7,7 +7,7 @@ - + Nine Nines: List of plugins diff --git a/docs/en/erlang.mk/1/guide/getting_started/index.html b/docs/en/erlang.mk/1/guide/getting_started/index.html index 049ce0a0..b845f8f5 100644 --- a/docs/en/erlang.mk/1/guide/getting_started/index.html +++ b/docs/en/erlang.mk/1/guide/getting_started/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Getting started diff --git a/docs/en/erlang.mk/1/guide/history/index.html b/docs/en/erlang.mk/1/guide/history/index.html index cffc5f93..9fed152f 100644 --- a/docs/en/erlang.mk/1/guide/history/index.html +++ b/docs/en/erlang.mk/1/guide/history/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Short history diff --git a/docs/en/erlang.mk/1/guide/index.html b/docs/en/erlang.mk/1/guide/index.html index f175edf1..dac5c8e6 100644 --- a/docs/en/erlang.mk/1/guide/index.html +++ b/docs/en/erlang.mk/1/guide/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Erlang.mk User Guide diff --git a/docs/en/erlang.mk/1/guide/installation/index.html b/docs/en/erlang.mk/1/guide/installation/index.html index 3eebaa95..6375e8b4 100644 --- a/docs/en/erlang.mk/1/guide/installation/index.html +++ b/docs/en/erlang.mk/1/guide/installation/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Installation diff --git a/docs/en/erlang.mk/1/guide/limitations/index.html b/docs/en/erlang.mk/1/guide/limitations/index.html index 85b72139..0a372690 100644 --- a/docs/en/erlang.mk/1/guide/limitations/index.html +++ b/docs/en/erlang.mk/1/guide/limitations/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Limitations diff --git a/docs/en/erlang.mk/1/guide/overview/index.html b/docs/en/erlang.mk/1/guide/overview/index.html index 428db1c3..9b98abae 100644 --- a/docs/en/erlang.mk/1/guide/overview/index.html +++ b/docs/en/erlang.mk/1/guide/overview/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Overview diff --git a/docs/en/erlang.mk/1/guide/ports/index.html b/docs/en/erlang.mk/1/guide/ports/index.html index 131751f8..b7b6576d 100644 --- a/docs/en/erlang.mk/1/guide/ports/index.html +++ b/docs/en/erlang.mk/1/guide/ports/index.html @@ -7,7 +7,7 @@ - + Nine Nines: NIFs and port drivers diff --git a/docs/en/erlang.mk/1/guide/releases/index.html b/docs/en/erlang.mk/1/guide/releases/index.html index cc0d3c45..262f71dd 100644 --- a/docs/en/erlang.mk/1/guide/releases/index.html +++ b/docs/en/erlang.mk/1/guide/releases/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Releases diff --git a/docs/en/erlang.mk/1/guide/shell/index.html b/docs/en/erlang.mk/1/guide/shell/index.html index bdcbc854..93eed430 100644 --- a/docs/en/erlang.mk/1/guide/shell/index.html +++ b/docs/en/erlang.mk/1/guide/shell/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Erlang shell diff --git a/docs/en/erlang.mk/1/guide/updating/index.html b/docs/en/erlang.mk/1/guide/updating/index.html index d52442fd..46c53651 100644 --- a/docs/en/erlang.mk/1/guide/updating/index.html +++ b/docs/en/erlang.mk/1/guide/updating/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Updating Erlang.mk diff --git a/docs/en/erlang.mk/1/guide/why/index.html b/docs/en/erlang.mk/1/guide/why/index.html index 845d7867..dbe9f2c5 100644 --- a/docs/en/erlang.mk/1/guide/why/index.html +++ b/docs/en/erlang.mk/1/guide/why/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Why Erlang.mk diff --git a/docs/en/erlang.mk/1/guide/xref/index.html b/docs/en/erlang.mk/1/guide/xref/index.html index 1def98ab..d966c881 100644 --- a/docs/en/erlang.mk/1/guide/xref/index.html +++ b/docs/en/erlang.mk/1/guide/xref/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Xref diff --git a/docs/en/gun/1.0/guide/connect/index.html b/docs/en/gun/1.0/guide/connect/index.html index ba463db5..1928c24f 100644 --- a/docs/en/gun/1.0/guide/connect/index.html +++ b/docs/en/gun/1.0/guide/connect/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Connection diff --git a/docs/en/gun/1.0/guide/http/index.html b/docs/en/gun/1.0/guide/http/index.html index 6934835d..e19670f7 100644 --- a/docs/en/gun/1.0/guide/http/index.html +++ b/docs/en/gun/1.0/guide/http/index.html @@ -7,7 +7,7 @@ - + Nine Nines: HTTP diff --git a/docs/en/gun/1.0/guide/index.html b/docs/en/gun/1.0/guide/index.html index bc2b9831..7b647bc7 100644 --- a/docs/en/gun/1.0/guide/index.html +++ b/docs/en/gun/1.0/guide/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Gun User Guide diff --git a/docs/en/gun/1.0/guide/introduction/index.html b/docs/en/gun/1.0/guide/introduction/index.html index c8f85e5b..6fb805a9 100644 --- a/docs/en/gun/1.0/guide/introduction/index.html +++ b/docs/en/gun/1.0/guide/introduction/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Introduction diff --git a/docs/en/gun/1.0/guide/protocols/index.html b/docs/en/gun/1.0/guide/protocols/index.html index cf7b7add..d175b196 100644 --- a/docs/en/gun/1.0/guide/protocols/index.html +++ b/docs/en/gun/1.0/guide/protocols/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Supported protocols diff --git a/docs/en/gun/1.0/guide/start/index.html b/docs/en/gun/1.0/guide/start/index.html index 359a3bad..8132e14a 100644 --- a/docs/en/gun/1.0/guide/start/index.html +++ b/docs/en/gun/1.0/guide/start/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Starting and stopping diff --git a/docs/en/gun/1.0/guide/websocket/index.html b/docs/en/gun/1.0/guide/websocket/index.html index 78a34d42..7131ceae 100644 --- a/docs/en/gun/1.0/guide/websocket/index.html +++ b/docs/en/gun/1.0/guide/websocket/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Websocket diff --git a/docs/en/gun/1.0/manual/gun/index.html b/docs/en/gun/1.0/manual/gun/index.html index dc40e30e..91b965f3 100644 --- a/docs/en/gun/1.0/manual/gun/index.html +++ b/docs/en/gun/1.0/manual/gun/index.html @@ -7,7 +7,7 @@ - + Nine Nines: gun(3) diff --git a/docs/en/gun/1.0/manual/gun_app/index.html b/docs/en/gun/1.0/manual/gun_app/index.html index 2d5404b3..3a9fd6dd 100644 --- a/docs/en/gun/1.0/manual/gun_app/index.html +++ b/docs/en/gun/1.0/manual/gun_app/index.html @@ -7,7 +7,7 @@ - + Nine Nines: gun(7) diff --git a/docs/en/gun/1.0/manual/index.html b/docs/en/gun/1.0/manual/index.html index d919d90c..ed107dfa 100644 --- a/docs/en/gun/1.0/manual/index.html +++ b/docs/en/gun/1.0/manual/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Gun Function Reference diff --git a/docs/en/ranch/1.2/guide/embedded/index.html b/docs/en/ranch/1.2/guide/embedded/index.html index e8cd3eca..1050b924 100644 --- a/docs/en/ranch/1.2/guide/embedded/index.html +++ b/docs/en/ranch/1.2/guide/embedded/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Embedded mode diff --git a/docs/en/ranch/1.2/guide/index.html b/docs/en/ranch/1.2/guide/index.html index cb3d49c1..521b50a8 100644 --- a/docs/en/ranch/1.2/guide/index.html +++ b/docs/en/ranch/1.2/guide/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Ranch User Guide diff --git a/docs/en/ranch/1.2/guide/internals/index.html b/docs/en/ranch/1.2/guide/internals/index.html index bd7610c7..5ccea757 100644 --- a/docs/en/ranch/1.2/guide/internals/index.html +++ b/docs/en/ranch/1.2/guide/internals/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Internals diff --git a/docs/en/ranch/1.2/guide/introduction/index.html b/docs/en/ranch/1.2/guide/introduction/index.html index 2a6d275c..3bc565d5 100644 --- a/docs/en/ranch/1.2/guide/introduction/index.html +++ b/docs/en/ranch/1.2/guide/introduction/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Introduction diff --git a/docs/en/ranch/1.2/guide/listeners/index.html b/docs/en/ranch/1.2/guide/listeners/index.html index 638b15af..bf7956cd 100644 --- a/docs/en/ranch/1.2/guide/listeners/index.html +++ b/docs/en/ranch/1.2/guide/listeners/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Listeners diff --git a/docs/en/ranch/1.2/guide/parsers/index.html b/docs/en/ranch/1.2/guide/parsers/index.html index 364cd757..e8106b96 100644 --- a/docs/en/ranch/1.2/guide/parsers/index.html +++ b/docs/en/ranch/1.2/guide/parsers/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Writing parsers diff --git a/docs/en/ranch/1.2/guide/protocols/index.html b/docs/en/ranch/1.2/guide/protocols/index.html index cd44a06b..55c6ecfa 100644 --- a/docs/en/ranch/1.2/guide/protocols/index.html +++ b/docs/en/ranch/1.2/guide/protocols/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Protocols diff --git a/docs/en/ranch/1.2/guide/ssl_auth/index.html b/docs/en/ranch/1.2/guide/ssl_auth/index.html index a1018d85..5d04b5b5 100644 --- a/docs/en/ranch/1.2/guide/ssl_auth/index.html +++ b/docs/en/ranch/1.2/guide/ssl_auth/index.html @@ -7,7 +7,7 @@ - + Nine Nines: SSL client authentication diff --git a/docs/en/ranch/1.2/guide/transports/index.html b/docs/en/ranch/1.2/guide/transports/index.html index a3ce9983..adb9edc9 100644 --- a/docs/en/ranch/1.2/guide/transports/index.html +++ b/docs/en/ranch/1.2/guide/transports/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Transports diff --git a/docs/en/ranch/1.2/manual/index.html b/docs/en/ranch/1.2/manual/index.html index 339f6643..ad311e04 100644 --- a/docs/en/ranch/1.2/manual/index.html +++ b/docs/en/ranch/1.2/manual/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Ranch Function Reference diff --git a/docs/en/ranch/1.2/manual/ranch/index.html b/docs/en/ranch/1.2/manual/ranch/index.html index bdec4cca..8c4e4045 100644 --- a/docs/en/ranch/1.2/manual/ranch/index.html +++ b/docs/en/ranch/1.2/manual/ranch/index.html @@ -7,7 +7,7 @@ - + Nine Nines: ranch(3) diff --git a/docs/en/ranch/1.2/manual/ranch_app/index.html b/docs/en/ranch/1.2/manual/ranch_app/index.html index ac3ffd08..06a01a75 100644 --- a/docs/en/ranch/1.2/manual/ranch_app/index.html +++ b/docs/en/ranch/1.2/manual/ranch_app/index.html @@ -7,7 +7,7 @@ - + Nine Nines: ranch(7) diff --git a/docs/en/ranch/1.2/manual/ranch_protocol/index.html b/docs/en/ranch/1.2/manual/ranch_protocol/index.html index aa0001c6..f9f388ea 100644 --- a/docs/en/ranch/1.2/manual/ranch_protocol/index.html +++ b/docs/en/ranch/1.2/manual/ranch_protocol/index.html @@ -7,7 +7,7 @@ - + Nine Nines: ranch_protocol(3) diff --git a/docs/en/ranch/1.2/manual/ranch_ssl/index.html b/docs/en/ranch/1.2/manual/ranch_ssl/index.html index 2c0ef14f..b63427ee 100644 --- a/docs/en/ranch/1.2/manual/ranch_ssl/index.html +++ b/docs/en/ranch/1.2/manual/ranch_ssl/index.html @@ -7,7 +7,7 @@ - + Nine Nines: ranch_ssl(3) diff --git a/docs/en/ranch/1.2/manual/ranch_tcp/index.html b/docs/en/ranch/1.2/manual/ranch_tcp/index.html index 845e3022..8377d5ad 100644 --- a/docs/en/ranch/1.2/manual/ranch_tcp/index.html +++ b/docs/en/ranch/1.2/manual/ranch_tcp/index.html @@ -7,7 +7,7 @@ - + Nine Nines: ranch_tcp(3) diff --git a/docs/en/ranch/1.2/manual/ranch_transport/index.html b/docs/en/ranch/1.2/manual/ranch_transport/index.html index 40b22b39..fc92ce34 100644 --- a/docs/en/ranch/1.2/manual/ranch_transport/index.html +++ b/docs/en/ranch/1.2/manual/ranch_transport/index.html @@ -7,7 +7,7 @@ - + Nine Nines: ranch_transport(3) diff --git a/docs/index.html b/docs/index.html index 55161c52..699671a1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Documentation diff --git a/donate/index.html b/donate/index.html index 78da30de..d3638e94 100644 --- a/donate/index.html +++ b/donate/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Donate @@ -339,6 +339,8 @@ work on open source software including Cowboy and Erlang.mk.

+ + diff --git a/index.html b/index.html index b10de526..6323fb1b 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + Nine Nines @@ -479,6 +479,8 @@ + + diff --git a/services/index.html b/services/index.html index e505d87e..f7c6f1b7 100644 --- a/services/index.html +++ b/services/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Consulting & Training @@ -424,6 +424,8 @@ work on open source software including Cowboy and Erlang.mk.

+ + diff --git a/sitemap.xml b/sitemap.xml index 8c90f929..0f41ce48 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,6 @@ http://ninenines.eu/ 2016-08-29T00:00:00+01:00 - 0 @@ -219,6 +218,10 @@ http://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins/ + + http://ninenines.eu/docs/en/cowboy/2.0/guide/flow_diagram/ + + http://ninenines.eu/docs/en/cowboy/2.0/guide/getting_started/ diff --git a/slogan/index.html b/slogan/index.html index cd7ebace..b4e5460d 100644 --- a/slogan/index.html +++ b/slogan/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Slogan diff --git a/tags/index.html b/tags/index.html index f7761ca6..adbd5f01 100644 --- a/tags/index.html +++ b/tags/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Tags diff --git a/talks/index.html b/talks/index.html index 3412db1d..62707a63 100644 --- a/talks/index.html +++ b/talks/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Public talks -- cgit v1.2.3