C# Class Ipfs.Api.IpfsClient

Afficher le fichier Open project: richardschneider/net-ipfs-api Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Add a Stream to interplanetary file system.
public AddAsync ( Stream stream ) : Task
stream Stream
Résultat Task

AddDirectoryAsync() public méthode

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

AddFileAsync() public méthode

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

AddTextAsync() public méthode

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

Id() public méthode

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. ///
Résultat Task

Version() public méthode

Get the version of the API server.
public Version ( ) : Task
Résultat Task