aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-09-25 23:27:34 +0200
committerLoïc Hoguin <[email protected]>2016-09-25 23:27:34 +0200
commite80291fbdc23727cc3a45ff43e94c0aa6b4f96b4 (patch)
tree8a3090f742313c2d4a1004fb2ec8789c710a6091
parentfa58155f72bc5776976a9f072ae2003cba514a92 (diff)
downloadcowboy-e80291fbdc23727cc3a45ff43e94c0aa6b4f96b4.tar.gz
cowboy-e80291fbdc23727cc3a45ff43e94c0aa6b4f96b4.tar.bz2
cowboy-e80291fbdc23727cc3a45ff43e94c0aa6b4f96b4.zip
Tweak the cowboy(7) manual
-rw-r--r--doc/src/manual/cowboy_app.asciidoc32
1 files changed, 19 insertions, 13 deletions
diff --git a/doc/src/manual/cowboy_app.asciidoc b/doc/src/manual/cowboy_app.asciidoc
index 933834f..945a56b 100644
--- a/doc/src/manual/cowboy_app.asciidoc
+++ b/doc/src/manual/cowboy_app.asciidoc
@@ -19,24 +19,15 @@ Functions:
* link:man:cowboy(3)[cowboy(3)] - Listener management
* link:man:cowboy_req(3)[cowboy_req(3)] - Request and response
-* link:man:cowboy_router(3)[cowboy_router(3)] - Router middleware
+* link:man:cowboy_router(3)[cowboy_router(3)] - Router
// @todo What about cowboy_constraints?
Protocols:
-* link:man:cowboy_http(3)[cowboy_http(3)] - HTTP/1.1 protocol
-* link:man:cowboy_http2(3)[cowboy_http2(3)] - HTTP/2 protocol
-* link:man:cowboy_websocket(3)[cowboy_websocket(3)] - Websocket protocol
-
-Behaviors:
-
-* link:man:cowboy_handler(3)[cowboy_handler(3)] - Handler middleware and behavior
-* link:man:cowboy_loop(3)[cowboy_loop(3)] - Loop handler behavior
-* link:man:cowboy_middleware(3)[cowboy_middleware(3)] - Middleware behavior
-* link:man:cowboy_rest(3)[cowboy_rest(3)] - REST handler behavior
-* link:man:cowboy_stream(3)[cowboy_stream(3)] - Stream behavior
-* link:man:cowboy_sub_protocol(3)[cowboy_sub_protocol(3)] - Sub protocol behavior
+* link:man:cowboy_http(3)[cowboy_http(3)] - HTTP/1.1
+* link:man:cowboy_http2(3)[cowboy_http2(3)] - HTTP/2
+* link:man:cowboy_websocket(3)[cowboy_websocket(3)] - Websocket
Handlers:
@@ -44,6 +35,21 @@ Handlers:
// @todo What about cowboy_stream_h?
+Behaviors:
+
+* link:man:cowboy_handler(3)[cowboy_handler(3)] - Plain HTTP handlers
+* link:man:cowboy_loop(3)[cowboy_loop(3)] - Loop handlers
+* link:man:cowboy_middleware(3)[cowboy_middleware(3)] - Middlewares
+* link:man:cowboy_rest(3)[cowboy_rest(3)] - REST handlers
+* link:man:cowboy_stream(3)[cowboy_stream(3)] - Stream handlers
+* link:man:cowboy_sub_protocol(3)[cowboy_sub_protocol(3)] - Sub protocols
+* link:man:cowboy_websocket(3)[cowboy_websocket(3)] - Websocket handlers
+
+Middlewares:
+
+* link:man:cowboy_router(3)[cowboy_router(3)] - Router middleware
+* link:man:cowboy_handler(3)[cowboy_handler(3)] - Handler middleware
+
== Dependencies
* link:man:ranch(7)[ranch(7)] - Socket acceptor pool for TCP protocols