Skip to main content

Module http

Module http 

Source
Expand description

HTTP client with retry, redirect following, and rate limiting.

Provides HttpClient with exponential backoff retry, manual redirect tracking, user-agent rotation, and streaming responses.

Structsยง

FetchStreamReader
A streaming HTTP response reader.
HttpClient
An HTTP client with retry, redirect tracking, and user-agent rotation.
HttpClientConfig
Configuration for the HTTP client.
RetryPolicy
Retry policy for failed requests.
UserAgentRotator
User-agent rotator that cycles through a list of user-agent strings.