mithril_aggregator_client/
lib.rs1#![warn(missing_docs)]
2mod builder;
6mod client;
7mod error;
8mod external_trait_impls;
9pub mod query;
10mod test;
11
12pub use builder::AggregatorClientBuilder;
13pub use client::AggregatorHttpClient;
14pub use error::AggregatorHttpClientError;
15
16pub(crate) const JSON_CONTENT_TYPE: reqwest::header::HeaderValue =
17 reqwest::header::HeaderValue::from_static("application/json");
18
19pub type AggregatorHttpClientResult<T> = Result<T, AggregatorHttpClientError>;