diff options
| author | Stefan Boberg <[email protected]> | 2026-04-03 17:38:21 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-03 18:01:35 +0200 |
| commit | 45b1ec721d33e5637b4e7157d6be850ae3e3fa2c (patch) | |
| tree | 97587589fca33b9c9db5c0bcc23005f8550530e0 /docs/cpp-coding | |
| parent | disable zencompute in bundle step (diff) | |
| download | zen-45b1ec721d33e5637b4e7157d6be850ae3e3fa2c.tar.xz zen-45b1ec721d33e5637b4e7157d6be850ae3e3fa2c.zip | |
Add async HTTP client using curl_multi + ASIO
Introduces AsyncHttpClient backed by curl_multi_perform driven by an
ASIO steady_timer. Supports callback-based and std::future-based APIs
for GET/POST/PUT/DELETE/HEAD, with both owned and external io_context
modes. All curl_multi state is serialized on an asio::strand, making
it safe with multi-threaded io_contexts.
Shared curl helpers (callbacks, URL encoding, header construction,
error mapping) extracted into httpclientcurlhelpers.h to eliminate
duplication between the sync and async implementations.
Diffstat (limited to 'docs/cpp-coding')
0 files changed, 0 insertions, 0 deletions