fasttime icon indicating copy to clipboard operation
fasttime copied to clipboard

``stream_to_client`` panics.

Open jackxbritton opened this issue 4 years ago • 0 comments

Hey folks, this code panics. The feature is documented here.

pub fn main() -> Result<(), Error> {
    let resp = Response::new();
    let mut writer = resp.stream_to_client();
    writer.write_str("asdf");
    Ok(())
}

jackxbritton avatar Feb 22 '21 21:02 jackxbritton