RateLimiterApplicationBuilderExtensions.UseRateLimiter Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
UseRateLimiter(IApplicationBuilder) |
Memungkinkan pembatasan tarif untuk aplikasi. |
UseRateLimiter(IApplicationBuilder, RateLimiterOptions) |
Memungkinkan pembatasan tarif untuk aplikasi. |
UseRateLimiter(IApplicationBuilder)
Memungkinkan pembatasan tarif untuk aplikasi.
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
Parameter
Mengembalikan
Berlaku untuk
UseRateLimiter(IApplicationBuilder, RateLimiterOptions)
Memungkinkan pembatasan tarif untuk aplikasi.
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
Parameter
- options
- RateLimiterOptions