aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_http2.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-18 23:03:30 +0100
committerLoïc Hoguin <[email protected]>2018-11-18 23:03:30 +0100
commit6cc3b0ccca6c06592c2a1881cae39945de805747 (patch)
treec01e57a9ee88a524a2ca6b43b13f831bd96e009e /doc/src/manual/cowboy_http2.asciidoc
parent8d6d78575f64055be2d0992d8ccf802d9efa1faa (diff)
downloadcowboy-6cc3b0ccca6c06592c2a1881cae39945de805747.tar.gz
cowboy-6cc3b0ccca6c06592c2a1881cae39945de805747.tar.bz2
cowboy-6cc3b0ccca6c06592c2a1881cae39945de805747.zip
Document cowboy_stream_h/cowboy_compress_h
Diffstat (limited to 'doc/src/manual/cowboy_http2.asciidoc')
-rw-r--r--doc/src/manual/cowboy_http2.asciidoc15
1 files changed, 0 insertions, 15 deletions
diff --git a/doc/src/manual/cowboy_http2.asciidoc b/doc/src/manual/cowboy_http2.asciidoc
index 2b33a71..4907f09 100644
--- a/doc/src/manual/cowboy_http2.asciidoc
+++ b/doc/src/manual/cowboy_http2.asciidoc
@@ -19,7 +19,6 @@ as a Ranch protocol.
opts() :: #{
connection_type => worker | supervisor,
enable_connect_protocol => boolean(),
- env => cowboy_middleware:env(),
idle_timeout => timeout(),
inactivity_timeout => timeout(),
initial_connection_window_size => 65535..16#7fffffff,
@@ -29,12 +28,10 @@ opts() :: #{
max_encode_table_size => non_neg_integer(),
max_frame_size_received => 16384..16777215,
max_frame_size_sent => 16384..16777215 | infinity,
- middlewares => [module()],
preface_timeout => timeout(),
proxy_header => boolean(),
sendfile => boolean(),
settings_timeout => timeout(),
- shutdown_timeout => timeout(),
stream_handlers => [module()]
}
----
@@ -60,10 +57,6 @@ Whether to enable the extended CONNECT method to allow
protocols like Websocket to be used over an HTTP/2 stream.
This option is experimental and disabled by default.
-env (#{})::
-
-Middleware environment.
-
idle_timeout (60000)::
Time in ms with no data received before Cowboy closes the connection.
@@ -118,10 +111,6 @@ following the client's advertised maximum.
Note that actual frame sizes may be lower than the limit when
there is not enough space left in the flow control window.
-middlewares ([cowboy_router, cowboy_handler])::
-
-Middlewares to run for every request.
-
preface_timeout (5000)::
Time in ms Cowboy is willing to wait for the connection preface.
@@ -142,10 +131,6 @@ settings_timeout (5000)::
Time in ms Cowboy is willing to wait for a SETTINGS ack.
-shutdown_timeout (5000)::
-
-Time in ms Cowboy will wait for child processes to shut down before killing them.
-
stream_handlers ([cowboy_stream_h])::
Ordered list of stream handlers that will handle all stream events.