summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.3/manual/cowboy_http2/index.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-04-06 17:31:43 +0200
committerLoïc Hoguin <[email protected]>2018-04-06 17:31:43 +0200
commitbfd2b6e01cbb36b0be0b3c860f5baf8d5b49fe7a (patch)
tree28883135d7c6629c86c51d30b545f8aacbe2a50d /docs/en/cowboy/2.3/manual/cowboy_http2/index.html
parentd2a3f2cedd7c00d0933222aed9c06b3149aa4db4 (diff)
downloadninenines.eu-bfd2b6e01cbb36b0be0b3c860f5baf8d5b49fe7a.tar.gz
ninenines.eu-bfd2b6e01cbb36b0be0b3c860f5baf8d5b49fe7a.tar.bz2
ninenines.eu-bfd2b6e01cbb36b0be0b3c860f5baf8d5b49fe7a.zip
Update copyright years
Diffstat (limited to 'docs/en/cowboy/2.3/manual/cowboy_http2/index.html')
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_http2/index.html26
1 files changed, 18 insertions, 8 deletions
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 -->
<pre><tt><span style="font-weight: bold"><span style="color: #000000">opts</span></span>() <span style="color: #990000">::</span> #{
- <span style="color: #0000FF">connection_type</span> <span style="color: #990000">=&gt;</span> <span style="color: #FF6600">worker</span> | <span style="color: #FF6600">supervisor</span>,
- <span style="color: #0000FF">env</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">cowboy_middleware:env</span></span>(),
- <span style="color: #0000FF">inactivity_timeout</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>(),
- <span style="color: #0000FF">middlewares</span> <span style="color: #990000">=&gt;</span> [<span style="font-weight: bold"><span style="color: #000000">module</span></span>()],
- <span style="color: #0000FF">preface_timeout</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>(),
- <span style="color: #000080">shutdown</span><span style="color: #009900">_timeout</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>(),
- <span style="color: #0000FF">stream_handlers</span> <span style="color: #990000">=&gt;</span> [<span style="font-weight: bold"><span style="color: #000000">module</span></span>()]
+ <span style="color: #0000FF">connection_type</span> <span style="color: #990000">=&gt;</span> <span style="color: #FF6600">worker</span> | <span style="color: #FF6600">supervisor</span>,
+ <span style="color: #0000FF">enable_connect_protocol</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">boolean</span></span>(),
+ <span style="color: #0000FF">env</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">cowboy_middleware:env</span></span>(),
+ <span style="color: #0000FF">inactivity_timeout</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>(),
+ <span style="color: #0000FF">middlewares</span> <span style="color: #990000">=&gt;</span> [<span style="font-weight: bold"><span style="color: #000000">module</span></span>()],
+ <span style="color: #0000FF">preface_timeout</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>(),
+ <span style="color: #000080">shutdown</span><span style="color: #009900">_timeout</span> <span style="color: #990000">=&gt;</span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>(),
+ <span style="color: #0000FF">stream_handlers</span> <span style="color: #990000">=&gt;</span> [<span style="font-weight: bold"><span style="color: #000000">module</span></span>()]
}</tt></pre></div></div>
<div class="paragraph"><p>Configuration for the HTTP/2 protocol.</p></div>
<div class="paragraph"><p>This configuration is passed to Cowboy when starting listeners
@@ -114,6 +115,15 @@ connection_type (supervisor)
</p>
</dd>
<dt class="hdlist1">
+enable_connect_protocol (false)
+</dt>
+<dd>
+<p>
+ Whether to enable the extended CONNECT method to allow
+ protocols like Websocket to be used over an HTTP/2 stream.
+</p>
+</dd>
+<dt class="hdlist1">
env (#{})
</dt>
<dd>
@@ -248,7 +258,7 @@ stream_handlers ([cowboy_stream_h])
</div>
<div class="span6 credits">
<p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2016</p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
</div>
</div>
</div>