Peer
Represents a remote peer in the network, including identity, capabilities, and last-known metadata.
Properties
id
Stable identifier for the peer within your app’s network.
val id: Stringcapabilities
Advertised peer capabilities such as supported protocols or features.
val capabilities: Set<String>Notes
- Peer metadata is best-effort and can change as the peer reconnects.
- Never trust peer-provided fields for authorization decisions—use app-level auth.