A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://richardschneider.github.io/net-ipfs-core/api/Ipfs.CoreApi.IObjectApi.html below:

Interface IObjectApi

Manages the IPFS Directed Acrylic Graph.

Namespace: Ipfs.CoreApi Assembly: Ipfs.Core.dll Syntax
public interface IObjectApi
Methods | Improve this Doc View Source DataAsync(Cid, CancellationToken)

Get the data of a MerkleDAG node.

Declaration
Task<Stream> DataAsync(Cid id, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<Stream>

A task that represents the asynchronous operation. The task's value is a stream of data.

| Improve this Doc View Source GetAsync(Cid, CancellationToken)

Fetch a MerkleDAG node.

Declaration
Task<DagNode> GetAsync(Cid id, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>

A task that represents the asynchronous operation. The task's value is a DagNode.

| Improve this Doc View Source LinksAsync(Cid, CancellationToken)

Get the links of a MerkleDAG node.

Declaration
Task<IEnumerable<IMerkleLink>> LinksAsync(Cid id, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<IEnumerable<IMerkleLink>>

A task that represents the asynchronous operation. The task's value is a sequence of links to the immediate children.

| Improve this Doc View Source NewAsync(String, CancellationToken)

Create a new MerkleDAG node, using a specific layout.

Declaration
Task<DagNode> NewAsync(string template = null, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>

A task that represents the asynchronous operation. The task's value is a DagNode to the new directory.

| Improve this Doc View Source NewDirectoryAsync(CancellationToken)

Creates a new file directory in IPFS.

Declaration
Task<DagNode> NewDirectoryAsync(CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>

A task that represents the asynchronous operation. The task's value is a DagNode to the new directory.

| Improve this Doc View Source PutAsync(DagNode, CancellationToken)

Store a MerkleDAG node.

Declaration
Task<DagNode> PutAsync(DagNode node, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>

A task that represents the asynchronous operation. The task's value is a DagNode.

| Improve this Doc View Source PutAsync(Byte[], IEnumerable<IMerkleLink>, CancellationToken)

Store a MerkleDAG node.

Declaration
Task<DagNode> PutAsync(byte[] data, IEnumerable<IMerkleLink> links = null, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<DagNode>

A task that represents the asynchronous operation. The task's value is a DagNode.

| Improve this Doc View Source StatAsync(Cid, CancellationToken)

Information on a MerkleDag node.

Declaration
Task<ObjectStat> StatAsync(Cid id, CancellationToken cancel = default(CancellationToken))
Parameters Returns Type Description Task<ObjectStat>

A task that represents the asynchronous operation. The task's value contains the ObjectStat.

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4