Table of Contents

Interface IMessageRateLimitFeature

Namespace
Excalibur.Dispatch.Features
Assembly
Excalibur.Dispatch.Abstractions.dll

Feature interface for rate limiting state.

public interface IMessageRateLimitFeature
Extension Methods

Properties

RateLimitExceeded

Gets or sets a value indicating whether rate limiting was triggered.

bool RateLimitExceeded { get; set; }

Property Value

bool

true if rate limited; otherwise, false.

RateLimitRetryAfter

Gets or sets the retry-after duration when rate limited.

TimeSpan? RateLimitRetryAfter { get; set; }

Property Value

TimeSpan?

The retry-after duration, or null if not rate limited.