Skip to main content

canonical_request_bytes

Function canonical_request_bytes 

Source
pub fn canonical_request_bytes(
    request: &IosDeviceBuildRequest,
) -> RemoteBuildResult<Vec<u8>>
Expand description

Serialize one validated iPhone build request using the protocol’s deterministic field order.

Maps and sets nested in the request use ordered representations. Keeping this function in the protocol crate prevents providers and workers from hashing subtly different request encodings.

§Errors

Returns a typed validation or serialization failure.