pub fn validate_request_header(id: u64, header: &[u8; 11]) -> Result<(), Error>Expand description
Validate only the fixed request header before a transport copies the payload. The complete request still requires normal decoding and resource admission. This delegates to the same validator previously used inside Wire’s endpoint module: accepted bytes and error ordering are unchanged after its package move.