C# Класс Ipfs.Commands.IpfsBlock

Наследование: Ipfs.Json.IpfsCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
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