From 529e4bca6dcc7a5478c8247e2917f4905d8835b9 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 10 Jan 2020 12:18:46 +0100 Subject: [PATCH] Add parameterpair. --- include/curl_wrapper.hpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp index fc3bf3f..f4da6ff 100644 --- a/include/curl_wrapper.hpp +++ b/include/curl_wrapper.hpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -35,6 +36,7 @@ using std::map; using std::mutex; using std::string; using std::string_view; +using std::pair; using std::variant; using std::vector; @@ -53,7 +55,7 @@ enum class http_method }; /*! - * @brief std::map of parameters for %API calls. + * @brief `std::map` of parameters for %API calls. * * Example: * @code @@ -66,7 +68,16 @@ enum class http_method * * @since 0.1.0 */ -using parametermap = map>>; +using parametermap = + map>>; + +/*! + * @brief A single parameter of a parametermap. + * + * @since 0.1.0 + */ +using parameterpair = + pair>>; /*! * @brief Handles the details of network connections.