Crate libp2p_webrtc_websys
source ·Expand description
§Rust libp2p-webrtc-websys
Browser Transport made available through web-sys
bindings.
§Usage
Use with Swarm::with_wasm_executor
to enable the wasm-bindgen
executor for the Swarm
.
See the browser-webrtc example for a full example.
Structs§
- Config for the
Transport
. - A WebRTC Connection.
- A stream over a WebRTC connection.
- A WebTransport
Transport
that works withweb-sys
.
Enums§
- Errors that may happen on the
Transport
or theConnection
.