pub fn get_data(resource_id: u32) -> Result<Vec<u8>>
Retrieves the payload in the event as the stream source.
use ws-sdk::stream let data = get_data(rid)?;