Generate a valid multipart boundary, statistically unlikely to be found within
the content of the parts.
Get the multipart/*
boundary string from hyper::Headers
Parse a MIME multipart/*
from a Read
able stream into a Vec
of Node
s, streaming
files to disk and keeping the rest in memory. Recursive multipart/*
parts will are
parsed as well and returned within a Node::Multipart
variant.
Parse a MIME multipart/*
from a Read
able stream into a Vec
of Node
s, streaming
files to disk and keeping the rest in memory. Recursive multipart/*
parts will are
parsed as well and returned within a Node::Multipart
variant.
Stream a multipart body to the output stream
given, made up of the parts
given. Top-level headers are NOT included in this stream; the caller must send
those prior to calling write_multipart().
Returns the number of bytes written, or an error.
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().