From dc8baa4c3383f752aa42c97efd3ccc8dce8c624e Mon Sep 17 00:00:00 2001 From: terrakuh Date: Sun, 27 Nov 2022 17:55:33 +0000 Subject: [PATCH] Release v0.4 --- CHANGELOG.md | 5 +++++ CMakeLists.txt | 2 +- README.md | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3a72ff..1a9289d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +

v0.4 - 2022-11-27

+ +### Changed +- Implementation +

v0.3.3 - 2022-06-10

### Added diff --git a/CMakeLists.txt b/CMakeLists.txt index 62c533b..3e5cac4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16) project( curlio - VERSION 0.3.3 + VERSION 0.4.0 DESCRIPTION "The simple glue for cURL and Boost.ASIO" HOMEPAGE_URL "https://github.com/terrakuh/curlio" LANGUAGES CXX diff --git a/README.md b/README.md index b02aae8..fba2c93 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ auto session = curlio::make_session(service.get_ex // Create request and set options. auto request = curlio::make_request(session); -curl_easy_setopt(request->native_handle(), CURLOPT_URL, "http://example.com"); -curl_easy_setopt(request->native_handle(), CURLOPT_USERAGENT, "cURLio"); +request->set_option("http://example.com"); +request->set_option("cURLio"); // Launches the request which will then run in the background. auto response = co_await session->async_start(request, asio::use_awaitable); @@ -52,7 +52,7 @@ cmake --install curlio/build And then in your `CMakeLists.txt`: ```cmake -find_package(curlio 0.3.3 REQUIRED) +find_package(curlio 0.4 REQUIRED) target_link_libraries(my-target PRIVATE curlio::curlio) ```