3 references to OnRejected
Microsoft.AspNetCore.RateLimiting (3)
RateLimiterOptions.cs (2)
38
/// This status code will be set before <see cref="
OnRejected
"/> is called, so any status code set by
39
/// <see cref="
OnRejected
"/> will "win" over this default.
RateLimitingMiddleware.cs (1)
45
_defaultOnRejected = options.Value.
OnRejected
;