AI automatically translates all comments in the code into English (#3917)

This commit is contained in:
alex
2024-09-19 14:53:50 +08:00
committed by GitHub
parent 046de691cb
commit 4152dcd409
279 changed files with 10602 additions and 3038 deletions

View File

@@ -24,6 +24,11 @@ public:
* 根据http错误代码获取字符说明
* @param status 譬如404
* @return 错误代码字符说明譬如Not Found
* Get character description based on http error code
* @param status For example 404
* @return Error code character description, for example Not Found
* [AUTO-TRANSLATED:7b844410]
*/
static const char *getHttpStatusMessage(int status);
@@ -31,6 +36,12 @@ public:
* 根据文件后缀返回http mime
* @param name 文件后缀譬如html
* @return mime值譬如text/html
* Return http mime based on file suffix
* @param name File suffix, for example html
* @return mime value, for example text/html
* [AUTO-TRANSLATED:03d63e1f]
*/
static const std::string &getHttpContentType(const char *name);
};