MultipartInputStream


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.40" ) ]
public MultipartInputStream (Message msg, InputStream base_stream)

Creates a new MultipartInputStream that wraps the InputStream obtained by sending the Request.

Reads should not be done directly through this object, use the input streams returned by next_part or its async counterpart instead.

Parameters:

msg

the Message the response is related to.

base_stream

the InputStream returned by sending the request.

Returns:

a new MultipartInputStream