libp2p WebTransport Transport WebTransport Sessions

For each session the general flow is:

  1. Creation
  2. Wait for ".ready"/".closed" to resolve or reject
  3. Open a bidirectional stream to perform a noise handshake
  4. Hand off to the libp2p upgrader to make the connection usable by the application

The graph below shows the current state of the transport running live in the page.

Clicking a dataset from the legend will toggle it's inclusion in the graph.

Node

Peers

Query

Simulate network traffic by running a DHT query to find peers close to a random set of bytes



    

The source code for this page can be found at ipfs-shipyard/www-libp2p-webtransport-sessions