Skip to main content

AdaptativeLimiterOptions.UseHeaderPriorityResolver method (1 of 2)

Sets the HttpHeaderPriorityResolver, it converts the header X-Priority to the request priority (critical, normal, noncritical).

public AdaptativeLimiterOptions UseHeaderPriorityResolver()

Return Value

AdaptativeLimiterOptions

See Also


AdaptativeLimiterOptions.UseHeaderPriorityResolver method (2 of 2)

Configures the priority resolver based on a specific HTTP header.

public AdaptativeLimiterOptions UseHeaderPriorityResolver(string headerName)
parameterdescription
headerNameThe name of the HTTP header to be used for determining the priority.

Return Value

The adaptive limiter configuration options.

See Also