Import line: | Soup = imports.gi.Soup; |
GIR File: | Soup-2.4.gir |
C documentation: | SoupMultipart |
Struct : | Multipart |
None |
Method / Constructor | Defined By | |
---|---|---|
Create a new Soup.Multipart
Create a new Soup.Multipart
|
||
Create a new Soup.Multipart
Create a new Soup.Multipart
|
||
Adds a new MIME part containing body to multipart, using
"Content-Disposition: form-data", as per the HTML forms specification.
Adds a new MIME part containing body to multipart, using
"Content-Disposition: form-data", as per the HTML forms specification. See soup_form_request_new_from_multipart() for more details.
|
Soup.Multipart | |
Adds a new MIME part containing data to multipart, using
"Content-Disposition: form-data", as per the HTML forms specification.
Adds a new MIME part containing data to multipart, using
"Content-Disposition: form-data", as per the HTML forms specification. See soup_form_request_new_from_multipart() for more details.
|
Soup.Multipart | |
append_part
(MessageHeaders headers, Buffer body)
:
none
Adds a new MIME part to multipart with the given headers and body.
Adds a new MIME part to multipart with the given headers and body.
(The multipart will make its own copies of headers and body, so you should free your copies if you are not using them for anything else.)
|
Soup.Multipart | |
free
()
:
none
Frees multipart
Frees multipart
|
Soup.Multipart | |
get_length
()
:
gint32
Gets the number of body parts in multipart
Gets the number of body parts in multipart
|
Soup.Multipart | |
Gets the indicated body part from multipart.
Gets the indicated body part from multipart.
which case headers and body won't be set)
|
Soup.Multipart | |
to_message
(MessageHeaders dest_headers, MessageBody dest_body)
:
none
Serializes multipart to dest_headers and dest_body.
Serializes multipart to dest_headers and dest_body.
|
Soup.Multipart |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Soup
Method |
Creates a new SoupMessage and sets it up to send multipart to
To send a create a SoupMultipart, using SOUP_FORM_MIME_TYPE_MULTIPART as the MIME type. |