Crate ipfs_api_backend_actix

Source
Expand description

Connect to an IPFS API using a client implemented with Actix.

§Example

 use ipfs_api_backend_actix::{IpfsApi, IpfsClient};
 use ipfs_api_backend_actix::response::VersionResponse;

 async fn example() -> Result<VersionResponse, ipfs_api_backend_actix::Error> {
    let client = IpfsClient::default();

    client.version().await
}

Modules§

request
response
This module contains structures returned by the IPFS API.

Structs§

ApiError
BackendWithGlobalOptions
A wrapper for Backend / IpfsApi that adds global options
Form
Implements the multipart/form-data media type as described by RFC 7578.
GlobalOptions
Options valid on any IPFS Api request
IpfsClient

Enums§

Error
KeyType
Logger
LoggingLevel
ObjectTemplate

Traits§

IpfsApi
TryFromUri