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