media_player_client/src/entities/HttpProtocol.ts

18 lines
709 B
TypeScript
Raw Normal View History

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";
export const UploadTypeBackgroundImage = "U_T_BACKGROUND_IMAGE";
export const UploadTypeMedia = "U_T_MEDIA";
2021-08-16 09:42:35 +08:00
export const HttpUploadTypeDatabase = "U_T_DATABASE";
export const UploadTypeRootFS = "U_T_ROOT_FS";
export const kHeaderXFileLength = "X-File-Length";
export const kHeaderXFileMD5 = "X-File-MD5";
export const kHeaderXProductName = "X-Product-Name";
export const kHeaderDefaultValueXProductName = "RK_3568";
}