Show / Hide Table of Contents

Interface IPeerRouting

Find information about a peer.

Namespace: Ipfs.CoreApi
Assembly: Ipfs.Core.dll
Syntax
public interface IPeerRouting
Remarks

No IPFS documentation is currently available. See the code.

Methods

| Improve this Doc View Source

FindPeerAsync(MultiHash, CancellationToken)

Information about an IPFS peer.

Declaration
Task<Peer> FindPeerAsync(MultiHash id, CancellationToken cancel = default(CancellationToken))
Parameters
Type Name Description
MultiHash id

The MultiHash ID of the IPFS peer.

CancellationToken cancel

Is used to stop the task. When cancelled, the TaskCanceledException is NOT raised.

Returns
Type Description
Task<Peer>

A task that represents the asynchronous operation that returns the Peer information or a closer peer.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX