From bfd2b6e01cbb36b0be0b3c860f5baf8d5b49fe7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 6 Apr 2018 17:31:43 +0200 Subject: Update copyright years --- docs/en/cowboy/2.3/manual/cowboy_http2/index.html | 26 ++++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'docs/en/cowboy/2.3/manual/cowboy_http2/index.html') diff --git a/docs/en/cowboy/2.3/manual/cowboy_http2/index.html b/docs/en/cowboy/2.3/manual/cowboy_http2/index.html index 657135e7..a63d0d96 100644 --- a/docs/en/cowboy/2.3/manual/cowboy_http2/index.html +++ b/docs/en/cowboy/2.3/manual/cowboy_http2/index.html @@ -89,13 +89,14 @@ by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite -->
opts() :: #{
-    connection_type    => worker | supervisor,
-    env                => cowboy_middleware:env(),
-    inactivity_timeout => timeout(),
-    middlewares        => [module()],
-    preface_timeout    => timeout(),
-    shutdown_timeout   => timeout(),
-    stream_handlers    => [module()]
+    connection_type         => worker | supervisor,
+    enable_connect_protocol => boolean(),
+    env                     => cowboy_middleware:env(),
+    inactivity_timeout      => timeout(),
+    middlewares             => [module()],
+    preface_timeout         => timeout(),
+    shutdown_timeout        => timeout(),
+    stream_handlers         => [module()]
 }

Configuration for the HTTP/2 protocol.

This configuration is passed to Cowboy when starting listeners @@ -114,6 +115,15 @@ connection_type (supervisor)

+enable_connect_protocol (false) +
+
+

+ Whether to enable the extended CONNECT method to allow + protocols like Websocket to be used over an HTTP/2 stream. +

+
+
env (#{})
@@ -248,7 +258,7 @@ stream_handlers ([cowboy_stream_h])

-

Copyright © Loïc Hoguin 2012-2016

+

Copyright © Loïc Hoguin 2012-2018

-- cgit v1.2.3