Skip to main content

dispatch

Function dispatch 

Source
async fn dispatch<RspT: Message + Default>(
    gateway: &str,
    client_id: &str,
    proto_id: u32,
    body: Vec<u8>,
) -> Result<RspT>
Expand description

共用 helper: 调 daemon + decode generic