From f245feb0b0c003c3aba37e464dd0d415094bbd77 Mon Sep 17 00:00:00 2001 From: hagen Date: Thu, 26 May 2016 00:00:00 +0000 Subject: [PATCH] * HTTP.h : export MergeChunkedResponse() --- HTTP.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/HTTP.h b/HTTP.h index 15efc989..0aa31b1e 100644 --- a/HTTP.h +++ b/HTTP.h @@ -132,6 +132,14 @@ namespace http { * @return Decoded string */ std::string UrlDecode(const std::string& data, bool null = false); + + /** + * @brief Merge HTTP response content with Transfer-Encoding: chunked + * @param in Input stream + * @param out Output stream + * @return true on success, false otherwise + */ + bool MergeChunkedResponse (std::istream& in, std::ostream& out); } // http } // i2p