mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 12:35:58 +08:00
AI automatically translates all comments in the code into English (#3917)
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user