diff options
author | Loïc Hoguin <[email protected]> | 2017-05-23 20:47:46 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-05-23 20:47:46 +0200 |
commit | 41c769ab5c19da92ecba35d9accc4bc123029e8d (patch) | |
tree | 67bb7f4d3c9200deb38863666bd41e07ca448aea /docs/en/cowboy/2.0/manual/cowboy_http2/index.html | |
parent | fe7e6a41a50b5f191b98c1bcdc99d8297f099673 (diff) | |
download | ninenines.eu-41c769ab5c19da92ecba35d9accc4bc123029e8d.tar.gz ninenines.eu-41c769ab5c19da92ecba35d9accc4bc123029e8d.tar.bz2 ninenines.eu-41c769ab5c19da92ecba35d9accc4bc123029e8d.zip |
Remove the use of bootstrap-carousel
The custom.js file was converted to not use jquery also. Once
bootstrap is gone, we can remove jquery entirely.
Diffstat (limited to 'docs/en/cowboy/2.0/manual/cowboy_http2/index.html')
-rw-r--r-- | docs/en/cowboy/2.0/manual/cowboy_http2/index.html | 43 |
1 files changed, 39 insertions, 4 deletions
diff --git a/docs/en/cowboy/2.0/manual/cowboy_http2/index.html b/docs/en/cowboy/2.0/manual/cowboy_http2/index.html index 5f29d00b..90f7f0fc 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_http2/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_http2/index.html @@ -91,9 +91,13 @@ 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: #FF6600">env</span> <span style="color: #990000">:=</span> <span style="font-weight: bold"><span style="color: #000000">cowboy_middleware:env</span></span>(),
- <span style="color: #FF6600">middlewares</span> <span style="color: #990000">:=</span> [<span style="font-weight: bold"><span style="color: #000000">module</span></span>()],
- <span style="color: #FF6600">preface_timeout</span> <span style="color: #990000">:=</span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>()
+ <span style="color: #0000FF">connection_type</span> <span style="color: #990000">=></span> <span style="color: #FF6600">worker</span> | <span style="color: #FF6600">supervisor</span>,
+ <span style="color: #0000FF">env</span> <span style="color: #990000">=></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">=></span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>(),
+ <span style="color: #0000FF">middlewares</span> <span style="color: #990000">=></span> [<span style="font-weight: bold"><span style="color: #000000">module</span></span>()],
+ <span style="color: #0000FF">preface_timeout</span> <span style="color: #990000">=></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">=></span> <span style="font-weight: bold"><span style="color: #000000">timeout</span></span>(),
+ <span style="color: #0000FF">stream_handlers</span> <span style="color: #990000">=></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
@@ -104,6 +108,14 @@ Ranch functions <code>ranch:get_protocol_options/1</code> and <div class="paragraph"><p>The default value is given next to the option name:</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
+connection_type (supervisor)
+</dt>
+<dd>
+<p>
+ Whether the connection process also acts as a supervisor.
+</p>
+</dd>
+<dt class="hdlist1">
env (#{})
</dt>
<dd>
@@ -112,6 +124,14 @@ env (#{}) </p>
</dd>
<dt class="hdlist1">
+inactivity_timeout (300000)
+</dt>
+<dd>
+<p>
+ Time in ms with nothing received at all before Cowboy closes the connection.
+</p>
+</dd>
+<dt class="hdlist1">
middlewares ([cowboy_router, cowboy_handler])
</dt>
<dd>
@@ -127,6 +147,22 @@ preface_timeout (5000) Time in ms Cowboy is willing to wait for the connection preface.
</p>
</dd>
+<dt class="hdlist1">
+shutdown_timeout (5000)
+</dt>
+<dd>
+<p>
+ Time in ms Cowboy will wait for child processes to shut down before killing them.
+</p>
+</dd>
+<dt class="hdlist1">
+stream_handlers ([cowboy_stream_h])
+</dt>
+<dd>
+<p>
+ Ordered list of stream handlers that will handle all stream events.
+</p>
+</dd>
</dl></div>
</div>
</div>
@@ -216,7 +252,6 @@ preface_timeout (5000) <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> - <script src="/js/bootstrap-carousel.js"></script> <script src="/js/bootstrap-dropdown.js"></script> <script src="/js/custom.js"></script> </body> |