2021-08-13 16:50:03 +08:00
|
|
|
export namespace HttpProtocol {
|
|
|
|
export const DefaultHttpPort = 61429;
|
|
|
|
export const RequestUploadFile = "/upload_file";
|
2021-08-16 09:42:35 +08:00
|
|
|
export const RequestPathUpdateDBBackupFile = "/common/update_db_backup_file";
|
|
|
|
export const RequestPathDBBackup = "/db_backup";
|
2021-08-17 17:17:51 +08:00
|
|
|
export const RequestPathListFile = "/list_file";
|
2021-08-18 16:00:22 +08:00
|
|
|
export const RequestPathCreateDirectory = "/create_directory";
|
2021-08-17 17:17:51 +08:00
|
|
|
export const RequestPathDeleteFile = "/delete_file";
|
2021-08-18 16:00:22 +08:00
|
|
|
export const RequestPathRenameFile = "/rename_file";
|
2021-09-07 18:03:50 +08:00
|
|
|
export const RequestCheckModeIndex = "/check_mode_index";
|
2021-08-13 16:50:03 +08:00
|
|
|
|
2021-08-17 17:17:51 +08:00
|
|
|
export const HttpUploadTypeNormal = "U_T_Normal";
|
2021-08-13 16:50:03 +08:00
|
|
|
export const UploadTypeBackgroundImage = "U_T_BACKGROUND_IMAGE";
|
|
|
|
export const UploadTypeMedia = "U_T_MEDIA";
|
2021-08-16 14:22:43 +08:00
|
|
|
export const UploadTypeDatabase = "U_T_DATABASE";
|
2021-08-13 16:50:03 +08:00
|
|
|
export const UploadTypeRootFS = "U_T_ROOT_FS";
|
2021-08-16 14:22:43 +08:00
|
|
|
export const UploadTypeSoftware = "U_T_SOFTWARE";
|
2021-08-13 16:50:03 +08:00
|
|
|
|
|
|
|
export const kHeaderXFileLength = "X-File-Length";
|
|
|
|
export const kHeaderXFileMD5 = "X-File-MD5";
|
|
|
|
export const kHeaderXProductName = "X-Product-Name";
|
|
|
|
export const kHeaderDefaultValueXProductName = "RK_3568";
|
|
|
|
}
|