Skip to content

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

Initializer

init(boundary:bufferCapacity:underlyingWriter:)

Creates a new buffered multipart writer.
init(boundary: String, bufferCapacity: Int, underlyingWriter: UnderlyingWriter)

Parameters

boundary

The boundary string to use for separating multipart parts.

bufferCapacity

Maximum number of bytes to buffer before writing to the underlying writer.

underlyingWriter

The writer that will receive the buffered data when capacity is reached.