Skip to content

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

Initializer

init(boundary:buffer:)

Creates a new buffered multipart writer that writes into an existing buffer.
init(boundary: String, buffer: inout OutboundBody)

Parameters

boundary

The boundary string to use for separating multipart parts.

buffer

An existing buffer to append into. The buffer is moved into the writer; the original is left empty.