Expand description
Decode backend envelopes once for queries and streams.
Enums§
- Envelope
Error - A backend envelope cannot be decoded. These errors are not retryable.
Functions§
- decode_
commit_ log_ entry - Decode a signed commit-log record without verifying its signature.
- decode_
group_ message - Decode an MLS message and keep its payload hash and server metadata.
- decode_
group_ message_ metadata - Decode the newest group metadata without loading its payload.
- decode_
identity_ update - Decode an identity update and check its inbox topic.
- decode_
key_ package - Decode a key package returned by a full newest query.
- decode_
welcome_ message - Decode an inline welcome or encrypted welcome pointer.
- message_
hash - Read the SHA-256 envelope hash from server metadata.
- metadata
- Check the topic, cursor, hash, and server timestamp.
- ordered_
batches - Validate a complete ordered read without parsing or changing MLS bytes.
Preserve each topic’s input cursor as
after; sequence gaps are valid. Advance only these in-memory cursors on success, never durable receiptF. - registration_
targets - Check every fixed target against the exact registered topic set. Require one target per topic. A target may be below the requested start.