RateLimiterApplicationBuilderExtensions.UseRateLimiter 方法

定义

重载

UseRateLimiter(IApplicationBuilder)

为应用程序启用速率限制。

UseRateLimiter(IApplicationBuilder, RateLimiterOptions)

为应用程序启用速率限制。

UseRateLimiter(IApplicationBuilder)

Source:
RateLimiterApplicationBuilderExtensions.cs

为应用程序启用速率限制。

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

参数

返回

适用于

UseRateLimiter(IApplicationBuilder, RateLimiterOptions)

Source:
RateLimiterApplicationBuilderExtensions.cs

为应用程序启用速率限制。

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

参数

返回

适用于