Expand description
HttpStore: a passalong-server workspace as a Store.
Items have the bytes FsStore gives them, through store::format: the
server keeps meta and the content as they are sent. In a sealed
workspace both are sealed here, and everything read is opened and checked
here; the server authenticates nothing about content.
Every write names the key the client believes the workspace is under
(expectedKeyId), so the server refuses it atomically when that changed.
Structs§
- Http
Store - A passalong-server workspace.
Enums§
- Partition
- Which of a workspace’s generations a store reads.
Constants§
- MAX_
RESUMES - How many times a download that broke off is resumed.
Functions§
- store_
error - The store error for a failed request: the key and rewrite codes as the encryption errors every backend gives, anything else in the server’s words.