RateLimiterOptions
RateLimiterOptions()
GlobalLimiter
OnRejected
RejectionStatusCode
AddPolicy<TPartitionKey>(String, IRateLimiterPolicy<TPartitionKey>)
AddPolicy<TPartitionKey>(String, Func<HttpContext, RateLimitPartition<TPartitionKey>>)
AddPolicy<TPartitionKey, TPolicy>(String)
AddConcurrencyLimiter(RateLimiterOptions, String, Action<ConcurrencyLimiterOptions>)
AddFixedWindowLimiter(RateLimiterOptions, String, Action<FixedWindowRateLimiterOptions>)
AddSlidingWindowLimiter(RateLimiterOptions, String, Action<SlidingWindowRateLimiterOptions>)
AddTokenBucketLimiter(RateLimiterOptions, String, Action<TokenBucketRateLimiterOptions>)
net10.0-windows7.0
namespace Microsoft.AspNetCore.RateLimiting
{
public sealed class RateLimiterOptions
{
public Func<OnRejectedContext!, CancellationToken, ValueTask>? OnRejected { get; set; }
}
}
nuget.org | 0.0 %
Reference this API 0.0 %
Set property |
---|---|
Upgrade Planner | 0.0 %
Reference this API 0.0 %
Set property |
Design Reviews |
|
.NET | 7.08.09.010.0 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.AspNetCore.RateLimiting , Version=7.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.RateLimiting (7.0.0-rc.2.22476.2) net7.0 |
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API