summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/curl_wrapper.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp
index 9da4912..6a088ff 100644
--- a/include/curl_wrapper.hpp
+++ b/include/curl_wrapper.hpp
@@ -37,6 +37,8 @@ enum class http_method
/*!
* @brief Handles the details of network connections.
*
+ * You don't need to use this.
+ *
* @since 0.1.0
*
* @headerfile curl_wrapper.hpp mastodonpp/curl_wrapper.hpp
@@ -78,6 +80,14 @@ public:
//! Move assignment operator
CURLWrapper& operator=(CURLWrapper &&other) noexcept = default;
+ /*!
+ * @brief Make a request.
+ *
+ * @param method The HTTP method.
+ * @param uri The full URI.
+ *
+ * @since 0.1.0
+ */
[[nodiscard]]
string make_request(const http_method &meth, const string_view &uri);