Skip to main content

Module client

Module client 

Source
Expand description

Client layer (3a of ADR-0008) — the DspClient trait and its HTTP impl.

The trait is the primary test seam (T2 from ADR-0009): production wires up the HTTP impl, action tests wire up MockDspClient. Translation between DSP-API vocabulary (ontology, class, property) and dsp-cli vocabulary (data-model, resource-type, field) happens here and only here — see docs/dev/domain-language.md.

Modules§

http
HTTP DspClient implementation — real reqwest::blocking client.

Traits§

DspClient
The DspClient trait. Methods are added as commands need them.