pub fn build_prepare_request(ttl_ms: u64, pid: u64) -> Vec<u8> ⓘExpand description
Build the JSON body for PUT /prepare: a timed-write reservation.
ttl_ms is milliseconds; pid is the controller-chosen transaction id echoed
by the subsequent timed write.