mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
* HTTP.h : export MergeChunkedResponse()
This commit is contained in:
8
HTTP.h
8
HTTP.h
@@ -132,6 +132,14 @@ namespace http {
|
|||||||
* @return Decoded string
|
* @return Decoded string
|
||||||
*/
|
*/
|
||||||
std::string UrlDecode(const std::string& data, bool null = false);
|
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
|
} // http
|
||||||
} // i2p
|
} // i2p
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user