PeerInfo
public struct PeerInfo : CBLWrappable
Represents information about a peer in the multipeer mesh network.
-
The peer identifier.
Declaration
Swift
public var peerID: PeerID { get } -
The peer’s TLS certificate.
This is only available after the peer has been authenticated during the replication connection process.
Declaration
Swift
public var certificate: SecCertificate? { get } -
Indicates whether the peer is currently online (visible) or offline.
Declaration
Swift
public var online: Bool { get } -
The current replication status for this peer.
Declaration
Swift
public var replicatorStatus: Replicator.Status { get } -
A list of the peer’s current neighboring peers.
Declaration
Swift
public var neighborPeers: [PeerID] { get }
PeerInfo Structure Reference