Skip to content

lat-murmeldjur/weeb-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust-libp2p Browser-Server WebRTC Example

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.

Running the example

Ensure you have wasm-pack installed.

  1. Build the client library:
wasm-pack build --target web --out-dir static
  1. Start the server:
cargo run
  1. Open the URL printed in the terminal

[Notes]

More Installed dependencies:

protoc
clang 

Eqs

e0 - header
e1 - handshake
e2 - hive
e3 - pingpong
e4 - pricing
e5 - pseudosettle
e6 - retrieval