node-device-session
Shared server for the /econ-v1/device-session/1 wire protocol (C-5 / ADR-100).
Carriers (node-app-iroh, node-app-p2p) implement [SessionStreams] and
[HostBus], then call [serve]. This crate has no iroh (or other carrier)
dependency.
Public API
ALPN—b"/econ-v1/device-session/1"SessionStreams/HostBus/WebRtcSignalingserve(conn, bus, ingress, path, webrtc)— passSome(hook)when the carrier answerswebrtc.signal/1;Nonerefuses withunsupported_transport
Wire methods: session.open/1, session.renew/1, device.call/1,
http.request/1, ws.stream/1, webrtc.signal/1.