Class

SoupMultipartInputStream

Description [src]

final class Soup.MultipartInputStream : Gio.FilterInputStream {
  /* No available fields */
}

Handles streams of multipart messages.

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.

Ancestors

  • GFilterInputStream
  • GInputStream
  • GObject

Implements

  • GPollableInputStream

Constructors

soup_multipart_input_stream_new

Creates a new SoupMultipartInputStream that wraps the GInputStream obtained by sending the SoupMessage.

Instance methods

soup_multipart_input_stream_get_headers

Obtains the headers for the part currently being processed.

soup_multipart_input_stream_next_part

Obtains an input stream for the next part.

soup_multipart_input_stream_next_part_async

Obtains a GInputStream for the next request.

soup_multipart_input_stream_next_part_finish

Finishes an asynchronous request for the next part.

Properties

Class structure

struct SoupMultipartInputStreamClass {
  GFilterInputStreamClass parent_class;
  
}
Class members
parent_class
GFilterInputStreamClass
  No description available.