summaryrefslogtreecommitdiff
path: root/libs/beast/doc/html/beast/examples.html
diff options
context:
space:
mode:
Diffstat (limited to 'libs/beast/doc/html/beast/examples.html')
-rw-r--r--libs/beast/doc/html/beast/examples.html131
1 files changed, 125 insertions, 6 deletions
diff --git a/libs/beast/doc/html/beast/examples.html b/libs/beast/doc/html/beast/examples.html
index 5c4b111a76..cac66a3998 100644
--- a/libs/beast/doc/html/beast/examples.html
+++ b/libs/beast/doc/html/beast/examples.html
@@ -8,6 +8,7 @@
<link rel="up" href="../index.html" title="Chapter 1. Boost.Beast">
<link rel="prev" href="quick_start/websocket_autobahn_testsuite.html" title="WebSocket (Autobahn|Testsuite)">
<link rel="next" href="using_io.html" title="Networking">
+<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
@@ -43,7 +44,6 @@
<colgroup>
<col>
<col>
-<col>
</colgroup>
<thead><tr>
<th>
@@ -131,6 +131,23 @@
<tr>
<td>
<p>
+ WebSocket, C++20 coroutine
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="../../../example/http/client/awaitable/http_client_awaitable.cpp" target="_top">http_client_awaitable.cpp</a>
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="../../../example/http/client/awaitable-ssl/http_client_awaitable_ssl.cpp" target="_top">http_client_awaitable_ssl.cpp</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
HTTP crawl (asynchronous)
</p>
</td>
@@ -142,6 +159,30 @@
<td>
</td>
</tr>
+<tr>
+<td>
+ <p>
+ HTTP json_body (synchronous)
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="../../../example/http/client/body/json_body.hpp" target="_top">example/http/client/body/json_client.cpp</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ HTTP client for all methods (synchronous)
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="../../../example/http/client/methods/http_client_methods.hpp" target="_top">example/http/client/methods/http_client_methods.cpp</a>
+ </p>
+ </td>
+</tr>
</tbody>
</table></div>
<p>
@@ -238,6 +279,20 @@
</p>
</td>
</tr>
+<tr>
+<td>
+ <p>
+ WebSocket, C++20 coroutine
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="../../../example/websocket/client/awaitable/websocket_client_awaitable.cpp" target="_top">websocket_client_awaitable.cpp</a>
+ </p>
+ </td>
+<td>
+ </td>
+</tr>
</tbody>
</table></div>
</div>
@@ -344,6 +399,19 @@
<tr>
<td>
<p>
+ HTTP, C++ 20 coroutine
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="../../../example/http/server/awaitable/http_server_awaitable.cpp" target="_top">http_server_awaitable.cpp</a>
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
HTTP, fast (optimized for speed)
</p>
</td>
@@ -484,6 +552,20 @@
<tr>
<td>
<p>
+ HTTP, C++ 20 coroutine
+ </p>
+ </td>
+<td>
+ <p>
+ <a href="../../../example/websocket/server/awaitable/websocket_server_awaitable.cpp" target="_top">websocket_server_awaitable.cpp</a>
+ </p>
+ </td>
+<td>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
WebSocket, fast (suited for benchmarks)
</p>
</td>
@@ -604,6 +686,46 @@
<tr>
<td>
<p>
+ Advanced, flex (plain + SSL) with awaitable
+ </p>
+ </td>
+<td>
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem">
+ Timeouts
+ </li>
+<li class="listitem">
+ Multi-threaded
+ </li>
+<li class="listitem">
+ HTTP pipelining
+ </li>
+<li class="listitem">
+ Parser-oriented HTTP reading
+ </li>
+<li class="listitem">
+ Dual protocols: HTTP and WebSocket
+ </li>
+<li class="listitem">
+ Flexible ports: plain and SSL on the same port
+ </li>
+<li class="listitem">
+ Clean exit via SIGINT (CTRL+C) or SIGTERM (kill)
+ </li>
+<li class="listitem">
+ Usage of cancellation_signals
+ </li>
+</ul></div>
+ </td>
+<td>
+ <p>
+ <a href="../../../example/advanced/server-flex-awaitable/advanced_server_flex_awaitable.cpp" target="_top">advanced_server_flex_awaitable.cpp</a>
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
Chat Server, multi-threaded
</p>
</td>
@@ -756,15 +878,12 @@
</p>
</div>
</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
+<div class="copyright-footer">Copyright © 2016-2019 Vinnie
Falco<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
-</div></td>
-</tr></table>
+</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="quick_start/websocket_autobahn_testsuite.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="using_io.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>