public static string GetBinaryToken(Content content, HttpContext context, string fieldName = null) { var handler = new UploadHandler(content, context); return(handler.GetBinaryToken(fieldName)); }
public static Task <string> FinalizeBlobUpload(Content content, HttpContext context, string token, long fullSize, string fieldName = null, string fileName = null) { var handler = new UploadHandler(content, context); return(handler.FinalizeBlobUploadAsync(token, fullSize, context.RequestAborted, fieldName, fileName)); }
public static Task <string> StartBlobUploadToParent(Content content, HttpContext context, string name, string contentType, long fullSize, string fieldName = null) { var handler = new UploadHandler(content, context); return(handler.StartBlobUploadToParentAsync(name, contentType, fullSize, context.RequestAborted, fieldName)); }
public static string StartBlobUpload(Content content, HttpContext context, long fullSize, string fieldName = null) { var handler = new UploadHandler(content, context); return(handler.StartBlobUpload(fullSize, fieldName)); }
public static string FinalizeContent(Content content, HttpContext context) { var handler = new UploadHandler(content, context); return(handler.FinalizeContent(content)); }