aboutsummaryrefslogtreecommitdiff
path: root/include/ricochet/net/http_client.hh
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-14 14:38:42 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-14 14:38:42 +0800
commit10c3746a6df45dd154955a9e91e662260f36363f (patch)
tree0c9c879439baf659d875ec1438154ca9ea71faf1 /include/ricochet/net/http_client.hh
parentd4f78be6f231b5289eb1c658d1f67006b7d884dd (diff)
downloadrwebbrowser-10c3746a6df45dd154955a9e91e662260f36363f.tar.gz
rwebbrowser-10c3746a6df45dd154955a9e91e662260f36363f.tar.xz
refactor: adjust code structure
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: