Table of Contents

Class MultipartInputStream

Namespace
Soup
Assembly
Soup-3.0.dll
public sealed class MultipartInputStream : FilterInputStream, IObject, INotifyPropertyChanged, IDisposable, PollableInputStream, IHandle, GTypeProvider
Inheritance
MultipartInputStream
Implements
Inherited Members

Constructors

MultipartInputStream(bool, params ConstructArgument[])

protected MultipartInputStream(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

MultipartInputStream(IntPtr, bool)

protected MultipartInputStream(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

MessagePropertyDefinition

public static readonly Property<Message?, MultipartInputStream> MessagePropertyDefinition

Field Value

Property<Message, MultipartInputStream>

Properties

Message

public Message? Message { get; }

Property Value

Message

Methods

CanPoll()

[Version("2.28")]
public bool CanPoll()

Returns

bool

CreateSource(Cancellable?)

[Version("2.28")]
public Source CreateSource(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

Source

GetGType()

public static Type GetGType()

Returns

Type

GetHeaders()

public MessageHeaders? GetHeaders()

Returns

MessageHeaders

IsReadable()

[Version("2.28")]
public bool IsReadable()

Returns

bool

New(Message, InputStream)

public static MultipartInputStream New(Message msg, InputStream baseStream)

Parameters

msg Message
baseStream InputStream

Returns

MultipartInputStream

NextPart(Cancellable?)

public InputStream? NextPart(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

InputStream

NextPartFinish(AsyncResult)

public InputStream? NextPartFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

InputStream

ReadNonblocking(Span<byte>, Cancellable?)

public long ReadNonblocking(Span<byte> buffer, Cancellable? cancellable)

Parameters

buffer Span<byte>
cancellable Cancellable

Returns

long