Table of Contents

ThrottlingSentinelOptions Constructor

Definition

ThrottlingSentinelOptions()

Initializes a new instance of the ThrottlingSentinelOptions class.

public ThrottlingSentinelOptions()

Remarks

The following table shows the initial property values for an instance of ThrottlingSentinelOptions.

PropertyInitial Value
RateLimitHeaderNameX-RateLimit-Limit
RateLimitRemainingHeaderNameX-RateLimit-Remaining
RateLimitResetHeaderNameX-RateLimit-Reset
RateLimitResetScopeDeltaSeconds
UseRetryAfterHeadertrue
RetryAfterScopeDeltaSeconds
TooManyRequestsMessageThrottling rate limit quota violation. Quota limit exceeded.
ContextResolvernull
Quotanull
ResponseHandlerA HttpResponseMessage initialized to a HTTP status code 429 with zero of one Retry-After header and a body of TooManyRequestsMessage.