Share via


ResponseCachingMiddleware Class

Definition

Enable HTTP response caching.

public ref class ResponseCachingMiddleware
public class ResponseCachingMiddleware
type ResponseCachingMiddleware = class
Public Class ResponseCachingMiddleware
Inheritance
ResponseCachingMiddleware

Constructors

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCache, IResponseCachingKeyProvider)
ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCachingKeyProvider)
ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, ObjectPoolProvider)

Creates a new ResponseCachingMiddleware.

Methods

Invoke(HttpContext)

Invokes the logic of the middleware.

Applies to