aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-03-11 16:12:00 +0100
committerGitHub Enterprise <[email protected]>2026-03-11 16:12:00 +0100
commit1a3a175a2ca0c06a29e6a679c325395c8008a17e (patch)
tree21156d69bb90bc5c6f539fff02e4c23c229269a4 /src/zenhttp/include
parentimproved oplog import progress reporting (#825) (diff)
downloadzen-1a3a175a2ca0c06a29e6a679c325395c8008a17e.tar.xz
zen-1a3a175a2ca0c06a29e6a679c325395c8008a17e.zip
added streaming download of payloads http client Post (#824)
* added streaming download of payloads in cpr client ::Post * curlclient Post streaming download * case sensitivity fixes for http headers * move over missing functionality from crpclient to httpclient
Diffstat (limited to 'src/zenhttp/include')
-rw-r--r--src/zenhttp/include/zenhttp/httpclient.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zenhttp/include/zenhttp/httpclient.h b/src/zenhttp/include/zenhttp/httpclient.h
index 2e21e3bd6..03c98af7e 100644
--- a/src/zenhttp/include/zenhttp/httpclient.h
+++ b/src/zenhttp/include/zenhttp/httpclient.h
@@ -315,7 +315,10 @@ public:
const IoBuffer& Payload,
ZenContentType ContentType,
const KeyValueMap& AdditionalHeader = {});
- [[nodiscard]] Response Post(std::string_view Url, CbObject Payload, const KeyValueMap& AdditionalHeader = {});
+ [[nodiscard]] Response Post(std::string_view Url,
+ CbObject Payload,
+ const KeyValueMap& AdditionalHeader = {},
+ const std::filesystem::path& TempFolderPath = {});
[[nodiscard]] Response Post(std::string_view Url, CbPackage Payload, const KeyValueMap& AdditionalHeader = {});
[[nodiscard]] Response Post(std::string_view Url,
const CompositeBuffer& Payload,