Dela via


Microsoft.AspNetCore.RateLimiting Namespace

Classes

DisableRateLimitingAttribute

Metadata that disables request rate limiting on an endpoint.

EnableRateLimitingAttribute

Metadata that provides endpoint-specific request rate limiting.

OnRejectedContext

Holds state needed for the OnRejected callback in the RateLimitingMiddleware.

RateLimiterOptions

Specifies options for the rate limiting middleware.

RateLimiterOptionsExtensions

Extension methods for the RateLimiting middleware options.

Interfaces

IRateLimiterPolicy<TPartitionKey>

An interface which is used to represent a RateLimiter policy.