Trait attohttpc::body::Body [−][src]
A generic rewindable request body
Required methods
fn kind(&mut self) -> IoResult<BodyKind>
[src]
Determine the kind of the request body
fn write<W: Write>(&mut self, writer: W) -> IoResult<()>
[src]
Write out the request body into the given writer
This method can be called multiple times if a request is redirected.
Provided methods
fn content_type(&mut self) -> IoResult<Option<String>>
[src]
Gets the content type this body is tied to if it has one.