16 lines
627 B
C#
16 lines
627 B
C#
namespace xCommons.Constants
|
|
{
|
|
/// <summary>
|
|
/// RateLimit Implementation Constants ...
|
|
/// </summary>
|
|
public partial struct XRateLimitConstants
|
|
{
|
|
public const string CacheKeyPrefix = "xratelimit";
|
|
public const string ClientIdHeader = "X-ClientId";
|
|
public const string RetryAfterHeader = "Retry-After";
|
|
public const string LimitHeader = "X-RateLimit-Limit";
|
|
public const string ResetHeader = "X-RateLimit-Reset";
|
|
public const string AppliedItemKey = "X-RateLimit-Applied";
|
|
public const string RemainingHeader = "X-RateLimit-Remaining";
|
|
}
|
|
} |