add http client

This commit is contained in:
2024-01-07 00:24:56 +08:00
parent 49070e1e60
commit 2515ccdb54
8 changed files with 642 additions and 0 deletions

View File

@@ -12,6 +12,13 @@ namespace str_util {
* @return true if successed.
*/
bool tolowercase(std::string ori, std::string& result);
/**
* @brief Convert string to uppercase
* @param ori Origin string
* @param result Output string.
* @return true if successed.
*/
bool touppercase(std::string ori, std::string& result);
/**
* @brief Replace all pattern to new_content
* @param input Input string