RateLimiterApplicationBuilderExtensions.UseRateLimiter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseRateLimiter(IApplicationBuilder) |
Enables rate limiting for the application. |
UseRateLimiter(IApplicationBuilder, RateLimiterOptions) |
Enables rate limiting for the application. |
UseRateLimiter(IApplicationBuilder)
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)
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
- options
- RateLimiterOptions