1 reference to EnableRateLimitingAttribute
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterEndpointConventionBuilderExtensions.cs (1)
55endpointBuilder.Metadata.Add(new EnableRateLimitingAttribute(new DefaultRateLimiterPolicy(RateLimiterOptions.ConvertPartitioner<TPartitionKey>(policyName, policy.GetPartition), policy.OnRejected)));