Deployed b5cf33a with MkDocs version: 1.2.3
This commit is contained in:
parent
7e1018e071
commit
6f9c3f0ffb
@ -372,5 +372,5 @@ int main()
|
|||||||
|
|
||||||
<!--
|
<!--
|
||||||
MkDocs version : 1.2.3
|
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
16
sitemap.xml
16
sitemap.xml
@ -2,42 +2,42 @@
|
|||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2022-01-05</lastmod>
|
<lastmod>2022-01-10</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2022-01-05</lastmod>
|
<lastmod>2022-01-10</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2022-01-05</lastmod>
|
<lastmod>2022-01-10</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2022-01-05</lastmod>
|
<lastmod>2022-01-10</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2022-01-05</lastmod>
|
<lastmod>2022-01-10</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2022-01-05</lastmod>
|
<lastmod>2022-01-10</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2022-01-05</lastmod>
|
<lastmod>2022-01-10</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2022-01-05</lastmod>
|
<lastmod>2022-01-10</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
@ -206,6 +206,14 @@ webSocket.stop()
|
|||||||
return _connected;
|
return _connected;
|
||||||
});
|
});
|
||||||
</code></pre>
|
</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<char></code>, <code>std::vector<uint8_t></code> and <code>char*</code>.</p>
|
||||||
|
<pre><code>std::vector<uint8_t> data({1, 2, 3, 4});
|
||||||
|
auto result = webSocket.sendBinary(data);
|
||||||
|
|
||||||
|
const char* text = "Hello World!";
|
||||||
|
result = webSocket.sendUtf8Text(IXWebSocketSendData(text, strlen(text)));
|
||||||
|
</code></pre>
|
||||||
<h3 id="readystate">ReadyState</h3>
|
<h3 id="readystate">ReadyState</h3>
|
||||||
<p><code>getReadyState()</code> returns the state of the connection. There are 4 possible states.</p>
|
<p><code>getReadyState()</code> returns the state of the connection. There are 4 possible states.</p>
|
||||||
<ol>
|
<ol>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user