Skip to content

v1.2.0

Choose a tag to compare

@kzhdev kzhdev released this 20 Nov 18:12
· 84 commits to main since this release

New Features

  • C++20 Coroutine Awaitable HTTP API: Added modern async/await interface for all HTTP methods
    • asio::awaitable<Response> async_get(url, headers) - Awaitable GET request
    • asio::awaitable<Response> async_post(url, data, headers) - Awaitable POST request
    • asio::awaitable<Response> async_put(url, data, headers) - Awaitable PUT request
    • asio::awaitable<Response> async_patch(url, data, headers) - Awaitable PATCH request
    • asio::awaitable<Response> async_del(url, data, headers) - Awaitable DELETE request
    • Clean async/await syntax using co_await for sequential or parallel HTTP operations
    • Uses caller's executor context (no service thread management required)
    • Supports both HTTP and HTTPS protocols