diff options
| author | Dan Engelbrecht <[email protected]> | 2026-03-11 16:12:00 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-03-11 16:12:00 +0100 |
| commit | 1a3a175a2ca0c06a29e6a679c325395c8008a17e (patch) | |
| tree | 21156d69bb90bc5c6f539fff02e4c23c229269a4 /src/zenhttp/clients/httpclientcommon.h | |
| parent | improved oplog import progress reporting (#825) (diff) | |
| download | zen-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/clients/httpclientcommon.h')
| -rw-r--r-- | src/zenhttp/clients/httpclientcommon.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zenhttp/clients/httpclientcommon.h b/src/zenhttp/clients/httpclientcommon.h index 5ed946541..e95e3a253 100644 --- a/src/zenhttp/clients/httpclientcommon.h +++ b/src/zenhttp/clients/httpclientcommon.h @@ -36,7 +36,10 @@ public: const IoBuffer& Payload, ZenContentType ContentType, const KeyValueMap& AdditionalHeader = {}) = 0; - [[nodiscard]] virtual Response Post(std::string_view Url, CbObject Payload, const KeyValueMap& AdditionalHeader = {}) = 0; + [[nodiscard]] virtual Response Post(std::string_view Url, + CbObject Payload, + const KeyValueMap& AdditionalHeader = {}, + const std::filesystem::path& TempFolderPath = {}) = 0; [[nodiscard]] virtual Response Post(std::string_view Url, CbPackage Payload, const KeyValueMap& AdditionalHeader = {}) = 0; [[nodiscard]] virtual Response Post(std::string_view Url, const CompositeBuffer& Payload, |