EndpointAddrInterface

An endpoint's id together with the network-level addresses where it can be reached.

Mirrors iroh::EndpointAddr — exposes a flat view over the underlying set of TransportAddrs (one relay URL plus a list of IP/port pairs).

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun directAddresses(): List<String>

The direct (IP/port) addresses of this peer.

Link copied to clipboard
abstract fun id(): EndpointId

The endpoint id.

Link copied to clipboard
abstract fun relayUrl(): String?

The home relay URL for this peer, if known.