Module atomic_lib::client

source ·
Expand description

Functions for interacting with an Atomic Server

Functions§

  • Fetches a URL, returns its body. Uses the store’s Agent agent (if set) to sign the request.
  • Fetches a resource, makes sure its subject matches. Checks the datatypes for the Values. Ignores all atoms where the subject is different. WARNING: Calls store methods, and is called by store methods, might get stuck in a loop!
  • Returns the various x-atomic authentication headers, includign agent signature
  • Posts a Commit to the endpoint of the Subject from the Commit
  • Posts a Commit to an endpoint Default commit endpoint is https://example.com/commit