Skip to main content

Module fetch

Module fetch 

Source
Expand description

Polite HTTP tile fetching with retry and backoff.

Structs§

HttpFetcher
ureq-backed fetcher used by the CLI.

Enums§

FetchOutcome
Outcome of one tile request.

Traits§

TileFetcher
A tile HTTP client. Trait-shaped so tests can stub responses.

Functions§

fetch_with_retry
Retry fetcher up to attempts times with exponential backoff.