Expand description
Interfaces to manage Holochain applications (hApps) and call their functions.
The Conductor is the central component of Holochain. It exposes WebSockets for clients to connect to, processes incoming requests and orchestrates data flow and persistence.
Refer to Holochain’s architecture for more info. Read about hApp development in the Happ Development Kit (HDK) documentation.
There is a Holochain client for JavaScript and a Rust client to connect to the Conductor.
The Conductor API is split into Admin and App requests and responses. Each has
an associated enum AdminRequest and AppRequest that define and
document available calls.
The admin interface generally manages the conductor itself, such as installing apps, listing dnas, cells and apps, accessing state and metric information dumps and managing agents.
The app interface is smaller and focussed on interfacing with an app directly. Notably the app interface allows calling functions exposed by the hApps’ modules, called DNAs. To discover a particular hApp’s structure, its app info can be requested.
Additional information can be found in the docs module.
Re-exports§
pub use config::*;pub use peer_meta::*;pub use state_dump::*;pub use storage_info::*;
Modules§
- config
- docs
- Additional Documentation
- peer_
meta - signal_
subscription - state_
dump - storage_
info
Structs§
- AppAuthentication
Request - The request payload sent on a Holochain app websocket to authenticate the connection.
- AppAuthentication
Token Issued - Response payload for AdminResponse::AppAuthenticationTokenIssued.
- AppInfo
- Info about an installed app, returned as part of
AppResponse::AppInfo - AppInterface
Info - Informational response for listing app interfaces.
- Issue
AppAuthentication Token Payload - Request payload for AdminRequest::IssueAppAuthenticationToken.
- Provisioned
Cell - Provisioned cell, a cell instantiated from a DNA on app installation.
- Stem
Cell - Cell whose instantiation has been deferred. Not yet implemented.
- Zome
Call Params Signed - The data provided over an app interface in order to make a zome call.
Enums§
- Admin
Request - Represents the available conductor functions to call over an admin interface.
- Admin
Response - Represents the possible responses to an
AdminRequestand follows a general convention ofnoun_verbas opposed to theverb_nounofAdminRequest. - AppRequest
- Represents the available conductor functions to call over an app interface
and will result in a corresponding
AppResponsemessage being sent back over the interface connection. - AppResponse
- Represents the possible responses to an
AppRequest. - AppStatus
Filter - Filter for
AdminRequest::ListApps. - Cell
Info - External
ApiWire Error - Error type that goes over the websocket wire. This intends to be application developer facing so it should be readable and relevant
Type Aliases§
- AppAuthentication
Token - A token issued by the conductor that can be used to authenticate a connection to an app interface.