4 references to EndpointLimiter
Microsoft.AspNetCore.RateLimiting (4)
RateLimitingMetrics.cs (1)
180RequestRejectionReason.EndpointLimiter => "endpoint_limiter",
RateLimitingMiddleware.cs (3)
126if (leaseContext.RequestRejectionReason == RequestRejectionReason.EndpointLimiter) 198return new LeaseContext() { RequestRejectionReason = RequestRejectionReason.EndpointLimiter, Lease = endpointLease }; 229return new LeaseContext() { RequestRejectionReason = RequestRejectionReason.EndpointLimiter, Lease = endpointLease };