@number0/iroh
    Preparing search index...

    Class RelayMap

    A collection of relay servers an endpoint should consider.

    Index
    • Check whether the given relay URL is in the map.

      Parameters

      • url: string

      Returns boolean

    • True if the map has no relays.

      Returns boolean

    • Number of relays in the map.

      Returns number

    • Remove the entry for the given relay URL. Returns true if removed.

      Parameters

      • url: string

      Returns boolean

    • Clean string representation.

      Returns string

    • All relay URLs currently in the map.

      Returns string[]