Struct noosphere_api::client::Client
source · pub struct Client<K, S>where
K: KeyMaterial + Clone + 'static,
S: UcanStore,{
pub session: IdentifyResponse,
pub sphere_identity: String,
pub api_base: Url,
pub author: Author<K>,
pub store: S,
/* private fields */
}Expand description
A Client is a simple, portable HTTP client for the Noosphere gateway REST API. It embodies the intended usage of the REST API, which includes an opening handshake (with associated key verification) and various UCAN-authorized verbs over sphere data.
Fields§
§session: IdentifyResponse§sphere_identity: String§api_base: Url§store: S