Table of Contents

Class MessageRateLimitFeature

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

Default implementation of IMessageRateLimitFeature.

public sealed class MessageRateLimitFeature : IMessageRateLimitFeature
Inheritance
MessageRateLimitFeature
Implements
Inherited Members
Extension Methods

Properties

RateLimitExceeded

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

public bool RateLimitExceeded { get; set; }

Property Value

bool

true if rate limited; otherwise, false.

RateLimitRetryAfter

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

public TimeSpan? RateLimitRetryAfter { get; set; }

Property Value

TimeSpan?

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