Table of Contents

Namespace RateLimitClient

Classes

JwtTokenHelper

Helper class for parsing JWT tokens and extracting claims. This is a simple implementation without full JWT validation.

RateLimitHandler

HttpMessageHandler that implements HTTP traffic shaping based on rate limit headers according to the IETF draft-ietf-httpapi-ratelimit-headers specification.

RateLimitHandlerOptions

Options for configuring the RateLimitHandler behavior.

RateLimitHeaderParser

Parses RateLimit-Policy and RateLimit headers according to the structured field list format. Uses IStructuredFieldParser abstraction for parsing, allowing easy replacement with third-party libraries.

RateLimitHeaders

Contains parsed rate limit headers from a response.

RateLimitInfo

Represents current rate limit information from the RateLimit header.

RateLimitPolicy

Represents a quota policy from the RateLimit-Policy header.

RateLimitState

Represents the tracked state for a rate limit policy.

RateLimitTracker

Tracks rate limit state and calculates delays needed for traffic shaping.

Enums

RateLimitWaitMode

Specifies when rate limit delays should be applied.