Constructor
SoupMultipartInputStreamnew
Declaration [src]
SoupMultipartInputStream*
soup_multipart_input_stream_new (
SoupMessage* msg,
GInputStream* base_stream
)
Description [src]
Creates a new SoupMultipartInputStream that wraps the
GInputStream obtained by sending the SoupMessage.
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.
Parameters
msg |
SoupMessage |
The |
|
| The data is owned by the caller of the function. | |
base_stream |
GInputStream |
The |
|
| The data is owned by the caller of the function. |
Return value
| Returns: | SoupMultipartInputStream |
A new |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |