Function ws_sdk::stream::set_data

source ·
pub fn set_data(resource_id: u32, data: Vec<u8>) -> Result<()>
Expand description

Sets the data for the sink of the stream.

Examples

use ws-sdk::stream::set_data
set_data(rid, data)?;