共用方式為


ResponseCachingMiddleware 類別

定義

啟用 HTTP 回應快取。

public ref class ResponseCachingMiddleware
public class ResponseCachingMiddleware
type ResponseCachingMiddleware = class
Public Class ResponseCachingMiddleware
繼承
ResponseCachingMiddleware

建構函式

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

啟用 HTTP 回應快取。

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

啟用 HTTP 回應快取。

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, ObjectPoolProvider)

建立新的 ResponseCachingMiddleware

方法

Invoke(HttpContext)

叫用中介軟體的邏輯。

適用於