Table of Contents

CacheableMiddleware Constructor

Definition

CacheableMiddleware(RequestDelegate, IOptions<CacheableOptions>)

Initializes a new instance of the CacheableMiddleware class.

public CacheableMiddleware(RequestDelegate next, IOptions<CacheableOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup IOptions<CacheableOptions>

The CacheableOptions which need to be configured.

CacheableMiddleware(RequestDelegate, Action<CacheableOptions>)

Initializes a new instance of the CacheableMiddleware class.

public CacheableMiddleware(RequestDelegate next, Action<CacheableOptions> setup)

Parameters

next RequestDelegate

The delegate of the request pipeline to invoke.

setup Action<CacheableOptions>

The CacheableOptions which need to be configured.