Sets our main struct and passes it to the parent class.
Creates a new #SoupMultipartInputStream that wraps the #GInputStream obtained by sending the #SoupRequest. Reads should not be done directly through this object, use the input streams returned by soup_multipart_input_stream_next_part() or its async counterpart instead.
Obtains the headers for the part currently being processed. Note that the #SoupMessageHeaders that are returned are owned by the #SoupMultipartInputStream and will be replaced when a call is made to soup_multipart_input_stream_next_part() or its async counterpart, so if keeping the headers is required, a copy must be made.
Get the main Gtk struct
the main Gtk struct as a void*
Obtains an input stream for the next part. When dealing with a multipart response the input stream needs to be wrapped in a #SoupMultipartInputStream and this function or its async counterpart need to be called to obtain the first part for reading.
Obtains a #GInputStream for the next request. See soup_multipart_input_stream_next_part() for details on the workflow.
Finishes an asynchronous request for the next part.
the main Gtk struct
This adds support for the multipart responses. For handling the multiple parts the user needs to wrap the #GInputStream obtained by sending the request with a #SoupMultipartInputStream and use soup_multipart_input_stream_next_part() before reading. Responses which are not wrapped will be treated like non-multipart responses.
Note that although #SoupMultipartInputStream is a #GInputStream, you should not read directly from it, and the results are undefined if you do.