Skip to content

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

Instance Method

writePart(_:)

Writes a complete multipart part including boundary, headers, and body.
mutating func writePart(_ part: MultipartPart<some RangeReplaceableCollection<UInt8> & Sendable>) async throws(Self.Failure)

Parameters

part

The multipart part to write.

Discussion

Throws

The writer’s Failure.