Deployed db7057d with MkDocs version: 1.2.3

This commit is contained in:
2022-02-01 05:55:02 +00:00
parent 18e8988862
commit af5d1cbb55
5 changed files with 20 additions and 10 deletions

View File

@ -372,5 +372,5 @@ int main()
<!--
MkDocs version : 1.2.3
Build Date UTC : 2022-01-29 00:28:13.676074+00:00
Build Date UTC : 2022-02-01 05:55:02.497335+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-29</lastmod>
<lastmod>2022-02-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-29</lastmod>
<lastmod>2022-02-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-29</lastmod>
<lastmod>2022-02-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-29</lastmod>
<lastmod>2022-02-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-29</lastmod>
<lastmod>2022-02-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-29</lastmod>
<lastmod>2022-02-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-29</lastmod>
<lastmod>2022-02-01</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2022-01-29</lastmod>
<lastmod>2022-02-01</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

View File

@ -571,11 +571,21 @@ bool async = true;
HttpClient httpClient(async);
auto args = httpClient.createRequest(url, HttpClient::kGet);
// If you define a chunk callback it will be called repeteadly with the
// incoming data. This allows to process data on the go or write it to disk
// instead of accumulating the data in memory.
args.onChunkCallback = [](const std::string&amp; data)
{
// process data
};
// Push the request to a queue,
bool ok = httpClient.performRequest(args, [](const HttpResponsePtr&amp; response)
{
// This callback execute in a background thread. Make sure you uses appropriate protection such as mutex
auto statusCode = response-&gt;statusCode; // acess results
// response-&gt;body is empty if onChunkCallback was used
}
);