function listPeers
listPeers(trustedOnly: boolean): FederationPeer[]

Returns the instances on the lists, by name: every one for /manage, or only the trusted ones, which the login page offers.

Parameters

trustedOnly: boolean

Return Type

Usage

import { listPeers } from "api/services/federation-peer-service.ts";