Expand description
iroh-http-discovery — local mDNS peer discovery for iroh-http.
Implements Iroh’s address-lookup trait using mDNS so nodes on the same local network can find each other without a relay server.
Use start_browse and start_advertise to start discovery sessions.
§Platform notes
- Desktop (macOS, Linux, Windows): enabled with the
mdnsfeature (default). - iOS / Android (Tauri mobile): use the platform’s native service discovery.
Structs§
- Advertise
Session - An active advertise session.
- Browse
Session - An active browse session that yields discovery events.
- Peer
Discovery Event - A discovery event suitable for FFI transport.
Enums§
- Discovery
Error - Structured error returned by
start_browseandstart_advertise.
Functions§
- start_
advertise - Start advertising this node on the local network via mDNS.
- start_
browse - Start a browse session: discover peers on the local network via mDNS.