AddLastModifiedHeader Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Mvc.Filters.Cacheable
- Assemblies
- Cuemon.Extensions.AspNetCore.Mvc.dll
AddLastModifiedHeader(IList<ICacheableAsyncResultFilter>, Action<HttpLastModifiedHeaderOptions>)
Adds an HttpLastModifiedHeaderFilter filter to the list.
public static void AddLastModifiedHeader(this IList<ICacheableAsyncResultFilter> filters, Action<HttpLastModifiedHeaderOptions> setup = null)
Parameters
filtersIList<ICacheableAsyncResultFilter>The list of cache related HTTP filters.
setupAction<HttpLastModifiedHeaderOptions>The HttpLastModifiedHeaderOptions which need to be configured.