public static RateLimiter UseDefaultQueue(this RateLimiter rateLimiter) { rateLimiter.UseQueue(new RateLimiterQueue()); return(rateLimiter); }
public static RateLimiter UseRedisQueue(this RateLimiter rateLimiter, IDatabase database, string queueName) { rateLimiter.UseQueue(new RedisRateLimiterQueue(database, queueName)); return(rateLimiter); }