Struct curl::easy::Form
[−]
[src]
pub struct Form { /* fields omitted */ }
Multipart/formdata for an HTTP POST request.
This structure is built up and then passed to the Easy::httppost
method to
be sent off with a request.
Methods
impl Form
[src]
fn new() -> Form
Creates a new blank form ready for the addition of new data.
fn part<'a, 'data>(&'a mut self, name: &'data str) -> Part<'a, 'data>
Prepares adding a new part to this Form
Note that the part is not actually added to the form until the add
method is called on Part
, which may or may not fail.