This commit is contained in:
Stanley Dimant
2022-08-24 22:01:05 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -2,14 +2,14 @@
{ {
public class Api public class Api
{ {
public const int Version = 10; public const int Version = 12;
public const string Path = "/mare"; public const string Path = "/mare";
public const string SendFileAbortUpload = "AbortUpload"; public const string SendFileAbortUpload = "AbortUpload";
public const string InvokeFileSendFiles = "SendFiles"; public const string InvokeFileSendFiles = "SendFiles";
public const string InvokeFileIsUploadFinished = "IsUploadFinished"; public const string InvokeFileIsUploadFinished = "IsUploadFinished";
public const string SendFileUploadFileStreamAsync = "UploadFileStreamAsync"; public const string SendFileUploadFileStreamAsync = "UploadFileStreamAsync";
public const string InvokeFileGetFileSize = "GetFileSize"; public const string InvokeGetFilesSizes = "GetFilesSizes";
public const string SendFileDeleteAllFiles = "DeleteAllFiles"; public const string SendFileDeleteAllFiles = "DeleteAllFiles";
public const string InvokeHeartbeat = "Heartbeat"; public const string InvokeHeartbeat = "Heartbeat";

View File

@@ -4,6 +4,7 @@
{ {
public bool FileExists { get; set; } = true; public bool FileExists { get; set; } = true;
public string Hash { get; set; } = string.Empty; public string Hash { get; set; } = string.Empty;
public string Url { get; set; }
public long Size { get; set; } = 0; public long Size { get; set; } = 0;
public bool IsForbidden { get; set; } = false; public bool IsForbidden { get; set; } = false;
public string ForbiddenBy { get; set; } = string.Empty; public string ForbiddenBy { get; set; } = string.Empty;