Expand description
Outbound JSON HTTP client.
HttpClient wraps reqwest with Rustls TLS for JSON GET/POST calls.
Responses with non-success status codes surface as errors.
ⓘ
let client = HttpClient::new();
let dto: MyDto = client.get("https://example.com/api").await?;Structs§
- Http
Client - Thin
reqwest-backed client that sends and receives JSON.