aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_http2.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/manual/cowboy_http2.asciidoc')
-rw-r--r--doc/src/manual/cowboy_http2.asciidoc8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/src/manual/cowboy_http2.asciidoc b/doc/src/manual/cowboy_http2.asciidoc
index 739374b..d82bc76 100644
--- a/doc/src/manual/cowboy_http2.asciidoc
+++ b/doc/src/manual/cowboy_http2.asciidoc
@@ -9,9 +9,7 @@ cowboy_http2 - HTTP/2
The module `cowboy_http2` implements HTTP/2
as a Ranch protocol.
-== Types
-
-=== opts()
+== Options
[source,erlang]
----
@@ -31,9 +29,7 @@ It can be updated without restarting listeners using the
Ranch functions `ranch:get_protocol_options/1` and
`ranch:set_protocol_options/2`.
-=== Option descriptions
-
-The default value is given next to the option name.
+The default value is given next to the option name:
env (#{})::
Middleware environment.