Function to_ws_msg

Source
pub fn to_ws_msg<Ops, Id>(
    header: BorshReqHeader<Ops, Id>,
    payload: &[u8],
) -> Message