Improve documentation for CURLWrapper.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2020-01-04 19:09:33 +01:00
parent ccc9b8235e
commit edc2bba718
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 10 additions and 0 deletions

View File

@ -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);