Module prelude

Module prelude 

Source

Re-exports§

pub use super::FILE_DESCRIPTOR_SET;
pub use super::api_client::ApiBuilder;
pub use super::api_client::ArcedXmtpApi;
pub use super::api_client::BoxedXmtpApi;
pub use super::api_client::NetConnectConfig;
pub use super::api_client::XmtpIdentityClient;
pub use super::api_client::XmtpMlsClient;
pub use super::api_client::XmtpMlsStreams;

Enums§

ApiClientError

Traits§

Client
A client represents how a request body is formed and sent into a backend. The client is protocol agnostic, a Client may communicate with a backend over gRPC, JSON-RPC, HTTP-REST, etc. http::Response’s are used in order to maintain a common data format compatible with a wide variety of backends. an http response is easily derived from a grpc, jsonrpc or rest api.
Endpoint
provides the necessary information for a backend API call. Indicates the Output type
Query
Queries describe the way an endpoint is called. these are extensions to the behavior of specific endpoints.
QueryStream
a companion to the Query trait, except for streaming calls. Not every query combinator/extension will apply to both steams and one-off calls (how do you ‘page’ a streaming api?), so these traits are separated.