Skip to main content

Module transport

Module transport 

Source
Expand description

Shared HTTP transport used by all backends.

A thin wrapper over a single reqwest::Client (rustls) that performs GET requests, maps transport and status failures into DataError, and decodes JSON. Backends add their own auth headers via the headers argument.

Structsยง

Http
A cheap-to-clone HTTP client shared across backends.