[][src]Function formdata::write_formdata

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

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