06 — Transport
weave-swarm
Topic-based peer networking with priority events, real connection lifecycle, metrics, and an encrypted-stream backbone (weave-secret-stream). Built to pair with weave-proto-mp for typed multiplexed protocols. Transport alone does not provide durable task delivery or permission to act.
A closer lookA direct line between peers.
Discover, connect, and exchange data through encrypted peer connections.
- 01Find a peer
- 02Establish the connection
- 03Exchange directly
01 — Concepts
01
Connect peers, join topics, move signed payloads.
02
Encrypted streams via weave-secret-stream.
03
Priority events, real connection lifecycle, metrics.
04
Pairs with weave-proto-mp for typed multiplexed protocols.
02 — Code
A handful of lines.
// Given a configured WeaveNode with admitted network settings.
node.start_network().await?;
// A started listener does not prove a remote exchange.
// Verify the intended peer and actual received bytes.