Table of Contents

Class RateLimitConfig

Namespace
Fluxer.Net.RateLimiting
Assembly
Fluxer.Net.dll

Configuration for a rate limit bucket

public class RateLimitConfig
Inheritance
object
RateLimitConfig

Constructors

RateLimitConfig(string, int, int, bool)

public RateLimitConfig(string bucket, int limit, int windowMs, bool exemptFromGlobal = false)

Parameters

bucket string
limit int
windowMs int
exemptFromGlobal bool

Properties

Bucket

public string Bucket { get; set; }

Property Value

string

ExemptFromGlobal

public bool ExemptFromGlobal { get; set; }

Property Value

bool

Limit

public int Limit { get; set; }

Property Value

int

WindowMs

public int WindowMs { get; set; }

Property Value

int