Available on crate feature
rpc
only.Expand description
Protocol definitions for RPC.
Structs§
- Create a new document author.
- Response for
AuthorCreateRequest
- Delete an author
- Response for
AuthorDeleteRequest
- Exports an author
- Response for
AuthorExportRequest
- Get the default author.
- Response for
AuthorGetDefaultRequest
- Import author from secret key
- Response to
ImportRequest
- List document authors for which we have a secret key.
- Response for
AuthorListRequest
- Set the default author.
- Response for
AuthorSetDefaultRequest
- Open a document
- Response to
CloseRequest
- Create a new document
- Response to
CreateRequest
- Delete entries in a document
- Response to
DelRequest
- List all documents
- Subscribe to events for a document.
- Response to
DocSubscribeRequest
- Stop the live sync for a doc, and optionally delete the document.
- Response to
DropRequest
- A request to the node to save the data of the entry to the given filepath
- Progress messages for an doc export operation
- Get a download policy
- Response to
GetDownloadPolicyRequest
- Get entries from a document
- Response to
GetExactRequest
- Get entries from a document
- Response to
GetManyRequest
- Get peers for document
- Response to
GetSyncPeersRequest
- A request to the node to add the data at the given filepath as an entry to the document
- Wrapper around
ImportProgress
. - Import a document from a capability.
- Response to
ImportRequest
- Stop the live sync for a doc, and optionally delete the document.
- Response to
LeaveRequest
- Response to
DocListRequest
- Open a document
- Response to
OpenRequest
- The RPC service type for the docs protocol.
- Set a download policy
- Response to
SetDownloadPolicyRequest
- Set an entry in a document via its hash
- Response to
SetHashRequest
- Set an entry in a document
- Response to
SetRequest
- Share a document with peers over a ticket.
- The response to
ShareRequest
- Start to sync a doc with peers.
- Response to
StartSyncRequest
- Get info on a document
- Response to
StatusRequest