mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-12 10:17:53 +00:00
* HTTP.h : export MergeChunkedResponse()
This commit is contained in:
parent
43a90d7b98
commit
f245feb0b0
8
HTTP.h
8
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user