You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
664 B
31 lines
664 B
5 days ago
|
using AspNetCoreRateLimit;
|
||
|
|
||
|
namespace Admin.NET.Core;
|
||
|
|
||
|
/// <summary>
|
||
|
/// IP限流配置选项
|
||
|
/// </summary>
|
||
|
public sealed class IpRateLimitingOptions : IpRateLimitOptions
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// IP限流策略配置选项
|
||
|
/// </summary>
|
||
|
public sealed class IpRateLimitPoliciesOptions : IpRateLimitPolicies, IConfigurableOptions
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 客户端限流配置选项
|
||
|
/// </summary>
|
||
|
public sealed class ClientRateLimitingOptions : ClientRateLimitOptions, IConfigurableOptions
|
||
|
{
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 客户端限流策略配置选项
|
||
|
/// </summary>
|
||
|
public sealed class ClientRateLimitPoliciesOptions : ClientRateLimitPolicies, IConfigurableOptions
|
||
|
{
|
||
|
}
|