Skip to main content

Module config

Module config 

Source
Expand description

Configuration types for the HTTP fetcher.

This module contains all the knobs you can turn to control how requests are made. The central type is FetcherConfig, which holds defaults for timeouts, retries, proxies, browser impersonation, and redirect behavior. Use FetcherConfigBuilder to construct a validated config with a fluent API.

ParserConfig is a separate, smaller struct that controls how the HTML parser behaves (e.g., whether adaptive parsing is enabled).

Structs§

FetcherConfig
Configuration for the HTTP fetcher.
FetcherConfigBuilder
Builder for constructing a FetcherConfig with validation.
ParserConfig
Configuration for the HTML parser.

Enums§

FollowRedirects
Policy for following HTTP redirects.
Impersonate
Browser impersonation strategy for TLS/HTTP fingerprinting.