Deployed bfe0212 with MkDocs version: 1.0.4

This commit is contained in:
Benjamin Sergeant
2019-12-03 09:28:36 -08:00
parent 8ac11111d1
commit 3a77248222
10 changed files with 45 additions and 40 deletions

View File

@ -95,7 +95,7 @@
<ul class="nav bs-sidenav">
<li class="main active"><a href="#introduction">Introduction</a></li>
<li class="main "><a href="#example-code">Example code</a></li>
<li class="main "><a href="#why-another-library">Why another library ?</a></li>
<li class="main "><a href="#why-another-library">Why another library?</a></li>
<li class="main "><a href="#contributing">Contributing</a></li>
</ul>
</div></div>
@ -113,10 +113,10 @@
<li>FreeBSD</li>
</ul>
<h2 id="example-code">Example code</h2>
<pre><code># Required on Windows
<pre><code class="cpp">// Required on Windows
ix::initNetSystem();
# Our websocket object
// Our websocket object
ix::WebSocket webSocket;
std::string url(&quot;ws://localhost:8080/&quot;);
@ -139,11 +139,11 @@ webSocket.start();
webSocket.send(&quot;hello world&quot;);
</code></pre>
<h2 id="why-another-library">Why another library ?</h2>
<h2 id="why-another-library">Why another library?</h2>
<p>There are 2 main reasons that explain why IXWebSocket got written. First, we needed a C++ cross-platform client library, which should have few dependencies. What looked like the most solid one, <a href="https://github.com/zaphoyd/websocketpp">websocketpp</a> did depend on boost and this was not an option for us. Secondly, there were other available libraries with fewer dependencies (C ones), but they required calling an explicit poll routine periodically to know if a client had received data from a server, which was not elegant.</p>
<p>We started by solving those 2 problems, then we added server websocket code, then an HTTP client, and finally a very simple HTTP server.</p>
<h2 id="contributing">Contributing</h2>
<p>IXWebSocket is developed on <a href="https://github.com/machinezone/IXWebSocket">github</a>. We'd love to hear about how you use it ; opening up an issue in github is ok for that. If things don't work as expected, please create an issue in github, or even better a pull request if you know how to fix your problem.</p></div>
<p>IXWebSocket is developed on <a href="https://github.com/machinezone/IXWebSocket">GitHub</a>. We'd love to hear about how you use it; opening up an issue on GitHub is ok for that. If things don't work as expected, please create an issue on GitHub, or even better a pull request if you know how to fix your problem.</p></div>
</div>
<footer class="col-md-12">
@ -226,5 +226,5 @@ webSocket.send(&quot;hello world&quot;);
<!--
MkDocs version : 1.0.4
Build Date UTC : 2019-12-02 22:52:27
Build Date UTC : 2019-12-03 17:28:36
-->