libp2p components
Readonly
addOptional
options: boolean | AddEventListenerOptionsReadonly
removeOptional
listener: null | EventHandler<Libp2pEvents<ServiceMap>[K]>Optional
options: boolean | EventListenerOptionsProtected
streamProtected
getProtected
getRetrieves a list of peers based on the specified criteria.
Optional
__namedParameters: { A Promise that resolves to an array of peers based on the specified criteria.
Protected
getMake a peer exchange query to a peer
Generated using TypeDoc
Implementation of the Peer Exchange protocol (https://rfc.vac.dev/spec/34/)