Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Initializer

init(backingSequence:boundary:outboundBody:)

Creates a new streaming multipart writer async sequence.
init(backingSequence: BackingSequence, boundary: String, outboundBody: OutboundBody.Type = OutboundBody.self)

Parameters

backingSequence

The async sequence of multipart sections to serialize.

boundary

The boundary string to use for separating multipart parts.

outboundBody

The type of the output body elements (inferred from usage).