Table of Contents

ContextResolver Property

Definition

ContextResolver

Gets or sets the function delegate that will resolve a unique context of the throttling middleware (eg. IP-address, Authorization header, etc.).

public Func<HttpContext, string> ContextResolver { get; set; }

Property Value

Func<HttpContext, string>

The function delegate that will resolve a unique context of the throttling middleware.