Middleware class to be inserted into the request pipeline which handles Redakt CMS file download requests.

public class FileStoreMiddleware
Inheritance:
ObjectFileStoreMiddleware

Constructors

FileStoreMiddleware(RequestDelegate, ILogger<FileStoreMiddleware>, IImageProcessor, IWebHostEnvironment, IOptions<ContentManagementOptions>) Default constructor. Services are injected by the IoC container.

Methods

Invoke(HttpContext, IFileService) Invokes middleware request processing. Called by the ASP.NET request pipeline.