C# 클래스 Ipfs.Commands.IpfsDht

상속: Ipfs.Json.IpfsCommand
파일 보기 프로젝트 열기: TrekDev/net-ipfs-api

공개 메소드들

메소드 설명
FindPeer ( string peerID ) : Task

Run a 'FindPeer' query through the DHT

FindProvs ( string key, bool verbose = false ) : Task

Run a 'FindProviders' query through the DHT FindProviders will return a list of peers who are able to provide the value requested.

Query ( string peerID, bool verbose = false ) : Task

Run a 'findClosestPeers' query through the DHT

비공개 메소드들

메소드 설명
IpfsDht ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : System

메소드 상세

FindPeer() 공개 메소드

Run a 'FindPeer' query through the DHT
public FindPeer ( string peerID ) : Task
peerID string The peer to search for
리턴 Task

FindProvs() 공개 메소드

Run a 'FindProviders' query through the DHT FindProviders will return a list of peers who are able to provide the value requested.
public FindProvs ( string key, bool verbose = false ) : Task
key string The key to find providers for
verbose bool Write extra information
리턴 Task

Query() 공개 메소드

Run a 'findClosestPeers' query through the DHT
public Query ( string peerID, bool verbose = false ) : Task
peerID string The peerID to run the query against
verbose bool Write extra information
리턴 Task