RateLimiterApplicationBuilderExtensions.UseRateLimiter Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
UseRateLimiter(IApplicationBuilder) |
Active la limitation du débit pour l’application. |
UseRateLimiter(IApplicationBuilder, RateLimiterOptions) |
Active la limitation du débit pour l’application. |
UseRateLimiter(IApplicationBuilder)
Active la limitation du débit pour l’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
Paramètres
Retours
S’applique à
UseRateLimiter(IApplicationBuilder, RateLimiterOptions)
Active la limitation du débit pour l’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
Paramètres
- options
- RateLimiterOptions