Deployed b5cf33a with MkDocs version: 1.2.3

This commit is contained in:
2022-01-10 18:34:53 +00:00
parent 7e1018e071
commit 6f9c3f0ffb
5 changed files with 18 additions and 10 deletions

View File

@ -372,5 +372,5 @@ int main()
<!--
MkDocs version : 1.2.3
Build Date UTC : 2022-01-05 18:43:49.106321+00:00
Build Date UTC : 2022-01-10 18:34:53.153739+00:00
-->

File diff suppressed because one or more lines are too long

View File

@ -2,42 +2,42 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2022-01-05</lastmod>
<lastmod>2022-01-10</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-05</lastmod>
<lastmod>2022-01-10</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-05</lastmod>
<lastmod>2022-01-10</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-05</lastmod>
<lastmod>2022-01-10</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-05</lastmod>
<lastmod>2022-01-10</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-05</lastmod>
<lastmod>2022-01-10</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-05</lastmod>
<lastmod>2022-01-10</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-05</lastmod>
<lastmod>2022-01-10</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

View File

@ -206,6 +206,14 @@ webSocket.stop()
return _connected;
});
</code></pre>
<p>The <code>send()</code> and <code>sendText()</code> methods check that the string contains only valid UTF-8 characters. If you know that the string is a valid UTF-8 string you can skip that step and use the <code>sendUtf8Text</code> method instead.</p>
<p>With the IXWebSocketSendData overloads of <code>sendUtf8Text</code> and <code>sendBinary</code> it is possible to not only send std::string but also <code>std::vector&lt;char&gt;</code>, <code>std::vector&lt;uint8_t&gt;</code> and <code>char*</code>.</p>
<pre><code>std::vector&lt;uint8_t&gt; data({1, 2, 3, 4});
auto result = webSocket.sendBinary(data);
const char* text = &quot;Hello World!&quot;;
result = webSocket.sendUtf8Text(IXWebSocketSendData(text, strlen(text)));
</code></pre>
<h3 id="readystate">ReadyState</h3>
<p><code>getReadyState()</code> returns the state of the connection. There are 4 possible states.</p>
<ol>