Class RateLimitConfig
- Namespace
- Fluxer.Net.RateLimiting
- Assembly
- Fluxer.Net.dll
Configuration for a rate limit bucket
public class RateLimitConfig
- Inheritance
-
objectRateLimitConfig
Constructors
RateLimitConfig(string, int, int, bool)
public RateLimitConfig(string bucket, int limit, int windowMs, bool exemptFromGlobal = false)
Parameters
Properties
Bucket
public string Bucket { get; set; }
Property Value
ExemptFromGlobal
public bool ExemptFromGlobal { get; set; }
Property Value
Limit
public int Limit { get; set; }
Property Value
WindowMs
public int WindowMs { get; set; }