C# Class Ipfs.Api.IpfsClient

Mostra file Open project: richardschneider/net-ipfs-api Class Usage Examples

Public Methods

Method Description
AddAsync ( Stream stream ) : Task

Add a Stream to interplanetary file system.

AddDirectoryAsync ( string path, bool recursive = true ) : Task

Add a directory and its files to the interplanetary file system.

AddFileAsync ( string path ) : Task

Add a file to the interplanetary file system.

AddTextAsync ( string text ) : Task

Add some text to the interplanetary file system.

Id ( string peer = null ) : Task

Information about an IPFS node.

Version ( ) : Task

Get the version of the API server.

Method Details

AddAsync() public method

Add a Stream to interplanetary file system.
public AddAsync ( Stream stream ) : Task
stream Stream
return Task

AddDirectoryAsync() public method

Add a directory and its files to the interplanetary file system.
public AddDirectoryAsync ( string path, bool recursive = true ) : Task
path string
recursive bool
return Task

AddFileAsync() public method

Add a file to the interplanetary file system.
public AddFileAsync ( string path ) : Task
path string
return Task

AddTextAsync() public method

Add some text to the interplanetary file system.
public AddTextAsync ( string text ) : Task
text string
return Task

Id() public method

Information about an IPFS node.
public Id ( string peer = null ) : Task
peer string /// The id of the peer IPFS node. If not specified (e.g. null), then the local /// peer node is used. ///
return Task

Version() public method

Get the version of the API server.
public Version ( ) : Task
return Task