Function formdata::write_formdata_chunked [] [src]

pub fn write_formdata_chunked<S: Write>(
    stream: &mut S,
    boundary: &Vec<u8>,
    formdata: &FormData
) -> Result<(), Error>

Stream out multipart/form-data body content matching the passed in formdata as Transfer-Encoding: Chunked. This does not stream out headers, so the caller must stream those out before calling write_formdata().