aboutsummaryrefslogtreecommitdiff
path: root/include/ricochet/net/http_client.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/ricochet/net/http_client.hh')
-rw-r--r--include/ricochet/net/http_client.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ricochet/net/http_client.hh b/include/ricochet/net/http_client.hh
index f6d8aa3..f57cbcf 100644
--- a/include/ricochet/net/http_client.hh
+++ b/include/ricochet/net/http_client.hh
@@ -53,7 +53,8 @@ public:
* @return Returns HttpResponse on success, returns an error message string on failure
*/
std::expected<HttpResponse, std::string> fetch( std::string_view url,
- std::string_view method = "GET",
+ std::string_view method
+ = "GET", // NOLINT(bugprone-easily-swappable-parameters)
std::string_view body = "" ) const;
private: