mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-21 16:49:10 +01:00
* HTTP.h : export MergeChunkedResponse()
This commit is contained in:
parent
43a90d7b98
commit
f245feb0b0
1 changed files with 8 additions and 0 deletions
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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue