Sdílet prostřednictvím


RateLimiterApplicationBuilderExtensions.UseRateLimiter Metoda

Definice

Přetížení

UseRateLimiter(IApplicationBuilder)

Povolí omezení rychlosti pro aplikaci.

UseRateLimiter(IApplicationBuilder, RateLimiterOptions)

Povolí omezení rychlosti pro aplikaci.

UseRateLimiter(IApplicationBuilder)

Zdroj:
RateLimiterApplicationBuilderExtensions.cs

Povolí omezení rychlosti pro aplikaci.

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

Parametry

Návraty

Platí pro

UseRateLimiter(IApplicationBuilder, RateLimiterOptions)

Zdroj:
RateLimiterApplicationBuilderExtensions.cs

Povolí omezení rychlosti pro aplikaci.

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

Parametry

Návraty

Platí pro