Skip to main content

wasm_parcel_encode

Function wasm_parcel_encode 

Source
pub fn wasm_parcel_encode(
    config: &ParcelConfigDto,
    content_type: Option<String>,
    payload: &[u8],
) -> Result<String, WasmParcelError>
Expand description

Encode raw payload bytes into a parcel envelope (contentType null uses the codec default).