Crate rings_transport
source ·Expand description
§Rings Transport
======================
This crate encompasses the transport layer implementations for the Rings Network, specifically designed for seamless integration in various computing environments. It is integral for enabling effective network communication within both native and browser contexts. The crate includes two primary Rust-based implementations:
- Native Transport
Based on webrtc.rs
, for building native usecase.
- WebSys Transport
Based on wasm_bindgen
, web_sys
, for Browser usecase
Modules§
- This module contains the InnerTransportCallback struct.
- This module contains the ConnectionRef struct.
- Default using
WebrtcConnection
for native environment. Plus aWebSysWebrtcConnection
for wasm environment. Also provide aDummyConnection
for testing. - The main concepts of this mod are:
- This module contains the IceServer structure.
- This module contains the Notifier struct.
- This module contains the Pool struct.