Trait ipfs_api_prelude::request::ApiRequest [−][src]
pub trait ApiRequest: Serialize {
const PATH: &'static str;
const METHOD: Method;
fn absolute_url(&self, base: &Uri) -> Result<Uri, Error> { ... }
}
Expand description
A request that can be made against the Ipfs API.
Associated Constants
Returns the API path that this request can be called on.
All paths should begin with ‘/’.