Deployed 8fda7cb with MkDocs version: 1.0.4

This commit is contained in:
Benjamin Sergeant 2019-10-16 10:19:27 -08:00
parent c880faa5ff
commit bd01be61d2
6 changed files with 23 additions and 8 deletions

View File

@ -91,6 +91,7 @@
<div class="col-md-3"><div class="bs-sidebar hidden-print affix well" role="complementary">
<ul class="nav bs-sidenav">
<li class="main active"><a href="#changelog">Changelog</a></li>
<li><a href="#710-2019-10-13">[7.1.0] - 2019-10-13</a></li>
<li><a href="#700-2019-10-01">[7.0.0] - 2019-10-01</a></li>
<li><a href="#634-2019-09-30">[6.3.4] - 2019-09-30</a></li>
<li><a href="#633-2019-09-30">[6.3.3] - 2019-09-30</a></li>
@ -139,6 +140,10 @@
<h1 id="changelog">Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<h2 id="710-2019-10-13">[7.1.0] - 2019-10-13</h2>
<ul>
<li>Add client support for websocket subprotocol. Look for the new addSubProtocol method for details.</li>
</ul>
<h2 id="700-2019-10-01">[7.0.0] - 2019-10-01</h2>
<ul>
<li>TLS support in server code, only implemented for the OpenSSL SSL backend for now.</li>

View File

@ -219,5 +219,5 @@ webSocket.send(&quot;hello world&quot;);
<!--
MkDocs version : 1.0.4
Build Date UTC : 2019-10-08 21:51:33
Build Date UTC : 2019-10-16 18:19:27
-->

File diff suppressed because one or more lines are too long

View File

@ -2,32 +2,32 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2019-10-08</lastmod>
<lastmod>2019-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2019-10-08</lastmod>
<lastmod>2019-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2019-10-08</lastmod>
<lastmod>2019-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2019-10-08</lastmod>
<lastmod>2019-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2019-10-08</lastmod>
<lastmod>2019-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2019-10-08</lastmod>
<lastmod>2019-10-16</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

View File

@ -258,6 +258,16 @@ headers[&quot;foo&quot;] = &quot;bar&quot;;
webSocket.setExtraHeaders(headers);
</code></pre>
<h3 id="subprotocols">Subprotocols</h3>
<p>You can specify subprotocols to be set during the WebSocket handshake. For more info you can refer to <a href="https://hpbn.co/websocket/#subprotocol-negotiation">this doc</a>.</p>
<pre><code>webSocket.addSubprotocol(&quot;appProtocol-v1&quot;);
webSocket.addSubprotocol(&quot;appProtocol-v2&quot;);
</code></pre>
<p>The protocol that the server did accept is available in the open info <code>protocol</code> field.</p>
<pre><code>std::cout &lt;&lt; &quot;protocol: &quot; &lt;&lt; msg-&gt;openInfo.protocol &lt;&lt; std::endl;
</code></pre>
<h3 id="automatic-reconnection">Automatic reconnection</h3>
<p>Automatic reconnection kicks in when the connection is disconnected without the user consent. This feature is on by default and can be turned off.</p>
<pre><code>webSocket.enableAutomaticReconnection(); // turn on