ubiquity_transport/
lib.rs1pub mod traits;
13pub mod factory;
14
15#[cfg(feature = "native")]
16pub mod native;
17
18#[cfg(feature = "websocket")]
19pub mod websocket;
20
21#[cfg(all(target_arch = "wasm32", feature = "wasm"))]
22pub mod wasm;
23
24pub use traits::{Transport, Connection, Listener};
26
27pub use factory::{
29 TransportFactory,
30 TransportType,
31 TransportBuilder,
32 TransportConfig,
33};
34
35pub mod prelude {
37 pub use crate::traits::{Transport, Connection, Listener};
38 pub use crate::factory::{TransportFactory, TransportType, TransportBuilder};
39}