1 write to _globalLimiter
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMiddleware.cs (1)
55
_globalLimiter
= options.Value.GlobalLimiter;
5 references to _globalLimiter
Microsoft.AspNetCore.RateLimiting (5)
RateLimitingMiddleware.cs (5)
75
if (enableRateLimitingAttribute is null &&
_globalLimiter
is null)
186
if (
_globalLimiter
is not null)
188
globalLease =
_globalLimiter
.AttemptAcquire(context);
217
if (
_globalLimiter
is not null)
219
globalLease = await
_globalLimiter
.AcquireAsync(context, cancellationToken: cancellationToken);