Net
- netAddrsListen
- netAgentVersion
- netAutoNatStatus
- netBandwidthStats
- netBandwidthStatsByPeer
- netBandwidthStatsByProtocol
- netConnect
- netConnectedness
- netDisconnect
- netFindPeer
- netPeers
- netPubsubScores
netAddrsListen
netAddrsListen (): Promise<AddrInfo>
Returns:
Promise<AddrInfo>
Source: index.d.ts, line 134, character 16
netAgentVersion
netAgentVersion (id: string): Promise<string>
Parameters:
id
:string
Returns:
Promise<string>
Source: index.d.ts, line 135, character 17
netAutoNatStatus
netAutoNatStatus (): Promise<NatInfo>
Returns:
Promise<NatInfo>
Source: index.d.ts, line 136, character 18
netBandwidthStats
netBandwidthStats (): Promise<Stats>
Returns:
Promise<Stats>
Source: index.d.ts, line 137, character 19
netBandwidthStatsByPeer
netBandwidthStatsByPeer (): Promise<{ [k: string]: Stats }>
Returns:
Promise<{ [k: string]: Stats }>
Source: index.d.ts, line 138, character 25
netBandwidthStatsByProtocol
netBandwidthStatsByProtocol (): Promise<{ [k: string]: Stats }>
Returns:
Promise<{ [k: string]: Stats }>
Source: index.d.ts, line 139, character 29
netConnect
netConnect (addrInfo: AddrInfo): Promise<void>
Parameters:
addrInfo
:AddrInfo
Returns:
Promise<void>
Source: index.d.ts, line 140, character 12
netConnectedness
netConnectedness (id: string): Promise<number>
Parameters:
id
:string
Returns:
Promise<number>
Source: index.d.ts, line 141, character 18
netDisconnect
netDisconnect (id: string): Promise<void>
Parameters:
id
:string
Returns:
Promise<void>
Source: index.d.ts, line 142, character 15
netFindPeer
netFindPeer (id: string): Promise<AddrInfo>
Parameters:
id
:string
Returns:
Promise<AddrInfo>
Source: index.d.ts, line 143, character 13
netPeers
netPeers (): Promise<Array<AddrInfo>>
Returns:
Promise<Array<AddrInfo>>
Source: index.d.ts, line 144, character 10
netPubsubScores
netPubsubScores (): Promise<Array<PubsubScore>>
Returns:
Promise<Array<PubsubScore>>