共用方式為


RateLimiterApplicationBuilderExtensions.UseRateLimiter 方法

定義

多載

UseRateLimiter(IApplicationBuilder)

啟用應用程式的速率限制。

UseRateLimiter(IApplicationBuilder, RateLimiterOptions)

啟用應用程式的速率限制。

UseRateLimiter(IApplicationBuilder)

來源:
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)

來源:
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

參數

傳回

適用於