Module mithril_client::aggregator_client
source · Expand description
Mechanisms to exchange data with an Aggregator.
The AggregatorClient trait abstracts how the communication with an Aggregator is done. The clients that need to communicate only need to define their request using the AggregatorRequest enum.
An implementation using HTTP is available: AggregatorHTTPClient.
Structs§
- Responsible for HTTP transport and API version check.
Enums§
- Error tied with the Aggregator client
- What can be read from an AggregatorClient.
Traits§
- API that defines a client for the Aggregator