From 8bc12a6228c15f920b48dbf5bc146ea5ed33b5f4 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 15 Sep 2021 22:45:09 +0200 Subject: Added some placeholder HttpClient functions to be fleshed out --- zenhttp/httpclient.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'zenhttp/httpclient.cpp') diff --git a/zenhttp/httpclient.cpp b/zenhttp/httpclient.cpp index 78ecef2c0..7e3e9d374 100644 --- a/zenhttp/httpclient.cpp +++ b/zenhttp/httpclient.cpp @@ -136,6 +136,21 @@ HttpClient::TransactPackage(std::string_view Url, CbPackage Package) return {.StatusCode = FilterResponse.status_code, .ResponsePayload = ResponseBuffer}; } +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) { -- cgit v1.2.3