Skip to main content

verify_moq_frame

Function verify_moq_frame 

Source
pub fn verify_moq_frame(
    verifier: &mut StreamVerifier,
    topic: &str,
    frame: &[u8],
) -> Result<Vec<StreamPayload>>
Expand description

Consumer-side helper: split a moq Frame payload back into the ZMQ-style [topic, capnp, mac] frames expected by StreamVerifier::verify, then verify and parse it.

topic is the opaque topic (not the broadcast path) and must match the verifier’s topic, exactly as the ZMQ frame-0 contract required.