MultipartInputStream


Object Hierarchy:

Soup.MultipartInputStream Soup.MultipartInputStream Soup.MultipartInputStream GLib.FilterInputStream GLib.FilterInputStream GLib.FilterInputStream->Soup.MultipartInputStream GLib.InputStream GLib.InputStream GLib.InputStream->GLib.FilterInputStream GLib.Object GLib.Object GLib.Object->GLib.InputStream GLib.PollableInputStream GLib.PollableInputStream GLib.PollableInputStream->Soup.MultipartInputStream

Description:

[ CCode ( type_id = "soup_multipart_input_stream_get_type ()" ) ]
public sealed class MultipartInputStream : FilterInputStream, PollableInputStream

Handles streams of multipart messages.

This adds support for the multipart responses. For handling the multiple parts the user needs to wrap the [[email protected]] obtained by sending the request with a [class@MultipartInputStream] and use [[email protected]_part] before reading. Responses which are not wrapped will be treated like non-multipart responses.

Note that although MultipartInputStream is a [[email protected]], you should not read directly from it, and the results are undefined if you do.


Namespace: Soup
Package: libsoup-3.0

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.FilterInputStream
All known members inherited from class GLib.InputStream
All known members inherited from class GLib.Object
All known members inherited from interface GLib.PollableInputStream



2022 vala-language.org