multipart

Module server

Source
Expand description

The server-side abstraction for multipart requests. Enabled with the server feature.

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.

Re-exports§

Modules§

  • Utilities for saving request entries to the filesystem.

Structs§

  • The headers that (may) appear before a multipart/form-data field.
  • The server-side implementation of multipart/form-data requests.
  • The data of a field in a multipart/form-data request.
  • A field in a multipart request with its associated headers and data.

Enums§

  • Ternary result type returned by ReadEntry::next_entry(), Multipart::into_entry() and MultipartField::next_entry().

Traits§

  • A server-side HTTP request that may or may not be multipart.
  • Common trait for Multipart and &mut Multipart