C# 클래스 Ipfs.Commands.IpfsBlock

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

공개 메소드들

메소드 설명
Get ( string key ) : Task

ipfs block get - Get a raw IPFS block 'ipfs block get' is a plumbing command for retreiving raw ipfs blocks.

Put ( byte data ) : Task

ipfs block put - Stores input as an IPFS block ipfs block put is a plumbing command for storing raw ipfs blocks. It reads from stdin, and is a base58 encoded multihash.

Stat ( string key ) : Task

Print information of a raw IPFS block

비공개 메소드들

메소드 설명
IpfsBlock ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : Ipfs.Json

메소드 상세

Get() 공개 메소드

ipfs block get - Get a raw IPFS block 'ipfs block get' is a plumbing command for retreiving raw ipfs blocks.
public Get ( string key ) : Task
key string The base58 multihash of an existing block to get
리턴 Task

Put() 공개 메소드

ipfs block put - Stores input as an IPFS block ipfs block put is a plumbing command for storing raw ipfs blocks. It reads from stdin, and is a base58 encoded multihash.
public Put ( byte data ) : Task
data byte The data to be stored as an IPFS block
리턴 Task

Stat() 공개 메소드

Print information of a raw IPFS block
public Stat ( string key ) : Task
key string The base58 multihash of an existing block to get
리턴 Task