Dela via


RateLimiterApplicationBuilderExtensions.UseRateLimiter Method

Definition

Overloads

UseRateLimiter(IApplicationBuilder)

Enables rate limiting for the application.

UseRateLimiter(IApplicationBuilder, RateLimiterOptions)

Enables rate limiting for the application.

UseRateLimiter(IApplicationBuilder)

Source:
RateLimiterApplicationBuilderExtensions.cs

Enables rate limiting for the application.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRateLimiter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseRateLimiter : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseRateLimiter (app As IApplicationBuilder) As IApplicationBuilder

Parameters

Returns

Applies to

UseRateLimiter(IApplicationBuilder, RateLimiterOptions)

Source:
RateLimiterApplicationBuilderExtensions.cs

Enables rate limiting for the application.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRateLimiter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.RateLimiting.RateLimiterOptions options);
static member UseRateLimiter : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.RateLimiting.RateLimiterOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseRateLimiter (app As IApplicationBuilder, options As RateLimiterOptions) As IApplicationBuilder

Parameters

Returns

Applies to