Skip to main content

write_data

Function write_data 

Source
pub fn write_data(w: &mut impl Write, data: &[u8]) -> Result<()>
Expand description

Responses are a stream of non-empty data frames terminated by a zero-length frame, so the daemon can emit results as it finds them and the client writes them straight to stdout (no buffering of huge result sets on either side).