MultipartContent constructor

init

Create a new instance of the MultipartContent class.

def __init__(self):
    ...

init

Create a new instance of the MultipartContent class with subtype.

def __init__(self, subtype):
    ...
ParameterTypeDescription
subtypestrThe subtype

init

Create a new instance of the MultipartContent class with subtype and boundary.

def __init__(self, subtype, boundary):
    ...
ParameterTypeDescription
subtypestrThe subtype
boundarystrThe boundary

Exceptions

ExceptionDescription
ArgumentExceptionThe argument cannot be null or empty string.

See Also