write_multipart_chunked

Function write_multipart_chunked 

Source
pub fn write_multipart_chunked<S: Write>(
    stream: &mut S,
    boundary: &[u8],
    nodes: &Vec<Node>,
) -> Result<(), Error>
Expand description

Stream a multipart body to the output stream given, made up of the parts given, using Tranfer-Encoding: Chunked. Top-level headers are NOT included in this stream; the caller must send those prior to calling write_multipart_chunked().