Adding RateLimit Feature ...

This commit is contained in:
2026-11-09 15:40:10 +03:30
parent 0a8f9692dd
commit cba7637255
17 changed files with 787 additions and 10 deletions
+14
View File
@@ -0,0 +1,14 @@
using System;
namespace xCommons.Models
{
public class XRateLimitResult
{
public int Limit { get; set; }
public string Key { get; set; }
public int Remaining { get; set; }
public bool IsAllowed { get; set; }
public int RetryAfterSeconds { get; set; }
public DateTimeOffset ResetOn { get; set; }
}
}