Table of Contents

AddLastModifiedHeader Method

Definition

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

filters IList<ICacheableAsyncResultFilter>

The list of cache related HTTP filters.

setup Action<HttpLastModifiedHeaderOptions>

The HttpLastModifiedHeaderOptions which need to be configured.