Expand description
HTTP client with rate limiting for arch-toolkit.
Structs§
- Arch
Client - What: Main client for arch-toolkit operations.
- Arch
Client Builder - What: Builder for creating
ArchClientwith custom configuration. - Cache
Invalidator - What: Builder for cache invalidation operations.
- Retry
Policy - What: Configuration for retry policies with exponential backoff and jitter.
Functions§
- extract_
retry_ after - What: Extract Retry-After header value from HTTP response.
- increase_
archlinux_ backoff - What: Increase backoff delay for archlinux.org after a failure or rate limit.
- is_
archlinux_ url - What: Check if a URL belongs to archlinux.org domain.
- is_
retryable_ error - What: Determine if an error is retryable and extract retry-after information.
- rate_
limit_ archlinux - What: Apply rate limiting specifically for archlinux.org requests with exponential backoff.
- reset_
archlinux_ backoff - What: Reset backoff delay for archlinux.org after a successful request.
- retry_
with_ policy - What: Retry an operation with exponential backoff and jitter.