Skip to main content

get_max_body_size

Function get_max_body_size 

Source
pub fn get_max_body_size() -> u64
Expand description

Maximum accepted request body size in bytes. 0 means unlimited (the default — enforcing a cap is opt-in). Read fresh on every call, so RWS_CONFIG_MAX_BODY_SIZE_IN_BYTES takes effect immediately, the same as get_request_allocation_size.