Skip to main content

MAX_CAPABILITY_RESPONSE_SIZE

Constant MAX_CAPABILITY_RESPONSE_SIZE 

Source
pub const MAX_CAPABILITY_RESPONSE_SIZE: usize = _; // 16_777_216usize
Expand description

Maximum response size for capability handlers (16 MiB).

The host enforces this limit on every capability response. Apps that produce a larger response will see FfiResult::error returned with error code -6. Use streaming or pagination for larger payloads.