Skip to main content

Module attachments

Module attachments 

Source
Expand description

Checks for attachment storage configuration shared by the backend and client.

Enums§

AttachmentConfigurationError
An attachment configuration field and the reason it cannot be used.

Constants§

BACKEND_DEFAULT_MAX_UPLOAD_BYTES
Default maximum ciphertext size for one attachment upload, in bytes.
MAX_ATTACHMENT_RETENTION_SECONDS
Largest retention value an SDK integer can carry exactly.
MAX_ATTACHMENT_UPLOAD_BYTES
Largest attachment contentLength the content type can carry.

Functions§

check_base_url
Check the published base URL without replacing its raw host, port, or path.
check_max_upload_bytes
Check the effective upload limit after a missing wire value takes its default.
check_retention_seconds
Check a configured or published retention value.