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§
pub extern crate buf_redux;
pub use self::save::Entries;
pub use self::save::SaveResult;
pub use self::save::SavedField;
Modules§
- hyper
- Server-side integration with Hyper.
Enabled with the
hyper
feature (on by default). - iron
- Integration with the Iron framework, enabled with the
iron
feature (optional). Includes aBeforeMiddleware
implementation. - nickel
- Support for
multipart/form-data
bodies in Nickel. - save
- Utilities for saving request entries to the filesystem.
- tiny_
http - Integration with
tiny_http
with thetiny_http
feature (optional).
Structs§
- Field
Headers - The headers that (may) appear before a
multipart/form-data
field. - Multipart
- The server-side implementation of
multipart/form-data
requests. - Multipart
Data - The data of a field in a
multipart/form-data
request. - Multipart
Field - A field in a multipart request with its associated headers and data.
Enums§
- Read
Entry Result - Ternary result type returned by
ReadEntry::next_entry()
,Multipart::into_entry()
andMultipartField::next_entry()
.
Traits§
- Http
Request - A server-side HTTP request that may or may not be multipart.
- Read
Entry - Common trait for
Multipart
and&mut Multipart