This example demonstrates how to use the libp2p-webrtc-websys
transport library in a browser to ping the WebRTC Server.
It uses wasm-pack to build the project for use in the browser.
- Build the client library:
wasm-pack build --target web --out-dir static
- Start the server:
cargo run
- Open the URL printed in the terminal