ContextResolver Property
Definition
- Namespace
- Cuemon.AspNetCore.Http.Throttling
- Assemblies
- Cuemon.AspNetCore.dll
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.