docs.rs failed to build multipart-0.5.0-alpha.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
multipart-0.18.0
Multipart + Hyper
Client- and server-side abstractions for HTTP file uploads (POST requests with Content-Type: multipart/form-data
).
Provides integration with Hyper via the hyper
feature. More to come!
####Documentation
Usage
In your Cargo.toml
:
# Currently only useful with `hyper` and `url` crates:
[]
= "*"
= "*"
[]
= "*" # Or use the version in the Crates.io badge above.
# You can also select which features to compile:
# default-features = false
# features = ["hyper", "server", "client"]
Client-side example using Hyper (features = ["hyper", "client"]
or default):
extern crate hyper;
extern crate multipart;
extern crate url;
use Request;
use Method;
use Multipart;
use Url;
Server-side example using Hyper (features = ["hyper", "server"]
or default):
use Fresh;
use ;
use Multipart;
use Switch;
License
MIT