Crate rocket_multipart

Source
Expand description

§Rocket Multipart Streams

Implements support for Multipart streams in Rocket. The core types are MultipartStream, which adapts a stream of MultipartSections into a multipart/mixed response, and MultipartReader, which parses a multipart stream into a sequence of MultipartReadSections.

Structs§

MultipartReadSection
A single section in a multipart stream
MultipartReader
A data guard for multipart/* data. Provides async reading of the individual multipart sections.
MultipartSection
A single section to be returned in a stream
MultipartStream
A stream of sections to be returned as a multipart/mixed stream.

Enums§

Error
Error returned by MultipartReader