Initializer
init(boundary:buffer:bufferCapacity:underlyingWriter:)
Creates a new buffered multipart writer with a user-supplied buffer.
init(boundary: String, buffer: BufferedMultipartWriter<UnderlyingWriter>.OutboundBody, bufferCapacity: Int, underlyingWriter: UnderlyingWriter)
Parameters
boundaryThe boundary string to use for separating multipart parts.
bufferThe buffer to write to before flushing to the underlying writer.
bufferCapacityMaximum number of bytes to buffer before writing to the underlying writer.
underlyingWriterThe writer that will receive the buffered data when capacity is reached.