std::http::multipart¶
Status: experimental
RFC 7578 multipart/form-data streaming parser.
API details and source¶
The implementation source contains the complete declarations and implementation notes. The table below lists canonical Gossamer call signatures; every item name links directly to its implementation file.
| Item | Canonical signature or declaration | Description |
|---|---|---|
Config |
type Config |
Per-form size, part-count, and disk-spill limits. |
Form |
type Form |
Parsed multipart envelope: fields + file parts. |
Part |
type Part |
One field or file entry from a multipart body. |
PartData |
type PartData |
In-memory bytes or spilled-to-disk path for a part. |
parse |
fn parse(request: http::Request) -> Result<http::multipart::Form, errors::Error> |
Stream-parse from any Read source into a Form. |