Expand description
The server-side abstraction for multipart requests. Enabled with the server feature (on by
default).
Use this when you are implementing an HTTP server and want to
to accept, parse, and serve HTTP multipart/form-data requests (file uploads).
See the Multipart struct for more info.
Structs§
- Field
- A single field in a multipart stream.
- Field
Data - The data of a field in a multipart stream, as a stream of chunks.
- Field
Headers - The headers of a
Field, including the name, filename, andContent-Type, if provided. - Multipart
- The server-side implementation of
multipart/form-datarequests. - Read
Text Field - A
Futurewhich attempts to read a field’s data to a string. - Text
Field - The result of reading a
Fieldto text.
Traits§
- Body
Chunk - The operations required from a body stream’s
Itemtype. - Stream
Error - The operations required from a body stream’s
Errortype.