Crate rings_transport

Crate rings_transport 

Source
Expand description
Rings Network

§Rings Transport

======================

rings-node cargo docs GitHub

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§

callback
This module contains the InnerTransportCallback struct.
connection_ref
This module contains the ConnectionRef struct.
connections
Default using WebrtcConnection for native environment. Plus a WebSysWebrtcConnection for wasm environment. Also provide a DummyConnection for testing.
core
The main concepts of this mod are:
error
ice_server
This module contains the IceServer structure.
notifier
This module contains the Notifier struct.
pool
This module contains the Pool struct.