Table of Contents

Class RateLimitOptions

Namespace
Signal.Application.Configuration
Assembly
Signal.Application.dll

Fixed-window rate limiting per sender, protecting against spam and command flooding.

public sealed class RateLimitOptions
Inheritance
RateLimitOptions
Inherited Members

Properties

PermitsPerWindow

Messages allowed per sender per Window. 0 (default) disables rate limiting.

public int PermitsPerWindow { get; set; }

Property Value

int

Window

Length of the rate limit window. Default 1 minute.

public TimeSpan Window { get; set; }

Property Value

TimeSpan