pub fn create_pubsub_frame( stream_id: impl Into<String>, seq: u64, origin_peer_id: impl Into<String>, payload: Vec<u8>, htl: u8, ) -> PubsubFrame
Create a pubsub data frame.