xmtp_api_grpc/grpc_client.rs
1mod client;
2pub use client::{ClientBuilder, GrpcClient, GrpcStream};
3
4#[cfg(any(test, feature = "test-utils"))]
5pub mod test;
6
7pub type GrpcClientBuilder = client::ClientBuilder;
8
9xmtp_common::if_wasm! {
10 mod wasm;
11 pub use wasm::*;
12 pub type GrpcService = wasm::GrpcWebService;
13}
14
15xmtp_common::if_native! {
16 mod native;
17 pub use native::*;
18 pub type GrpcService = native::NativeGrpcService;
19}