* Incremental work on persistent file cache * Rename providers to handlers * Implement zip file caching for resumable downloads * Implement partial download for zipped files * Allow executing workflows using GET verb * Implement custom header for correlating downloads * Rename FileName to Filename for consistency * Update interface XML comment * Cleanup * Fix that source Downloadables were executed even when cached zip exists * Make download correlation ID optional
15 lines
499 B
C#
15 lines
499 B
C#
using Elsa.Http.Models;
|
|
using Elsa.Http.Options;
|
|
|
|
namespace Elsa.Http.Contracts;
|
|
|
|
/// <summary>
|
|
/// Provides downloadables from the specified content, if supported.
|
|
/// </summary>
|
|
public interface IDownloadableManager
|
|
{
|
|
/// <summary>
|
|
/// Returns a list of downloadables from the specified content.
|
|
/// </summary>
|
|
IEnumerable<Func<ValueTask<Downloadable>>> GetDownloadablesAsync(object content, DownloadableOptions? options = default, CancellationToken cancellationToken = default);
|
|
} |