Skip to main content

Module client

Module client 

Source

Structs§

ProviderClient
A generic provider HTTP client that consolidates the common request/response logic shared across all provider implementations (HERE, Google, TomTom, MapBox, Radar).

Traits§

HttpClient
Trait for HTTP clients, allowing dependency injection and testing.

Functions§

redact_api_key
Redact API key values from a URL string for verbose output. Replaces the value of common API key query params with ***.
truncate_str
Truncate a string to the given byte limit, appending info if truncated.