api 12
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
{
|
||||
public class Api
|
||||
{
|
||||
public const int Version = 10;
|
||||
public const int Version = 12;
|
||||
public const string Path = "/mare";
|
||||
|
||||
public const string SendFileAbortUpload = "AbortUpload";
|
||||
public const string InvokeFileSendFiles = "SendFiles";
|
||||
public const string InvokeFileIsUploadFinished = "IsUploadFinished";
|
||||
public const string SendFileUploadFileStreamAsync = "UploadFileStreamAsync";
|
||||
public const string InvokeFileGetFileSize = "GetFileSize";
|
||||
public const string InvokeGetFilesSizes = "GetFilesSizes";
|
||||
public const string SendFileDeleteAllFiles = "DeleteAllFiles";
|
||||
|
||||
public const string InvokeHeartbeat = "Heartbeat";
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
{
|
||||
public bool FileExists { get; set; } = true;
|
||||
public string Hash { get; set; } = string.Empty;
|
||||
public string Url { get; set; }
|
||||
public long Size { get; set; } = 0;
|
||||
public bool IsForbidden { get; set; } = false;
|
||||
public string ForbiddenBy { get; set; } = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user