Optionalauththe host that issues tokens
Optionalconcurrencyhow many requests of a batch are in flight at once
Optionalconnectopens the notification socket
opens a websocket with request, a GET to a ws: or wss: url with no
body, or answers with the response that refused it
connectWebSocket, asking through fetch whether a
handshake that failed was refused
Optionaldescriptionthe kind of device, which the account checks against a fixed set
Optionaldevicethe device's lasting id; a fresh uuid if omitted
Optionalfetchthe function requests go through
Optionalmaxthe most requests one batch carries, and the most blobs one has or
put of the store
Optionalmaxhow large the cache of indexes and small files may grow, in characters
Optionalmaxhow many times an edit re-reads the root and tries again after another client wrote it first
Optionalmaxhow many times in a row a refused session is renewed before the refusal is thrown
Optionalmaxhow many times to retry a request after a network failure, a 5xx or a 429
Only requests the core marks as safe to repeat are retried: never a root write, a registration, or an upload to the ingestion endpoint.
Optionalnamethe client's name, part of the id it edits pages as; two programs sharing one device token need different names
Optionalplatformeverything the core needs from where it runs, in place of the fetchPlatform the other platform options would build
Optionalrawthe host of blobs and the root
Optionalrequesthow long a request may wait for its answer, or for the next piece of the
answer's body, before it is given up as unanswered, in milliseconds;
Infinity, or anything above 2^31 - 1, for no limit
A body sent is not timed: how long one takes depends on its size.
Optionalstatewhere a library keeps its saved state
Optionalstorewhere blobs are kept: document bodies, and the pages and copies the offline library works on
Optionaluploadthe host documents are uploaded through
how to register a device