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
- Config for the
Transport. - Connection
- A WebRTC Connection.
- Stream
- A stream over a WebRTC connection.
- Transport
- A WebTransport
Transportthat works withweb-sys.
Enums§
- Error
- Errors that may happen on the
Transportor theConnection.