aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpclient.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-15 22:45:09 +0200
committerStefan Boberg <[email protected]>2021-09-15 22:45:09 +0200
commit8bc12a6228c15f920b48dbf5bc146ea5ed33b5f4 (patch)
tree134f2c2c918e478ed03f4c7051d8c718f45dc0fb /zenhttp/httpclient.cpp
parentHooked up zenhttp to the test framework so tests actually run as part of zens... (diff)
downloadzen-8bc12a6228c15f920b48dbf5bc146ea5ed33b5f4.tar.xz
zen-8bc12a6228c15f920b48dbf5bc146ea5ed33b5f4.zip
Added some placeholder HttpClient functions to be fleshed out
Diffstat (limited to 'zenhttp/httpclient.cpp')
-rw-r--r--zenhttp/httpclient.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/zenhttp/httpclient.cpp b/zenhttp/httpclient.cpp
index 78ecef2c0..7e3e9d374 100644
--- a/zenhttp/httpclient.cpp
+++ b/zenhttp/httpclient.cpp
@@ -137,6 +137,21 @@ HttpClient::TransactPackage(std::string_view Url, CbPackage Package)
}
HttpClient::Response
+HttpClient::Put(std::string_view Url, IoBuffer Payload)
+{
+ ZEN_UNUSED(Url);
+ ZEN_UNUSED(Payload);
+ return {};
+}
+
+HttpClient::Response
+HttpClient::Get(std::string_view Url)
+{
+ ZEN_UNUSED(Url);
+ return {};
+}
+
+HttpClient::Response
HttpClient::Delete(std::string_view Url)
{
ZEN_UNUSED(Url);