Skip to content

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

Initializer

init(multipart:)

Creates a part from another part, converting its body to this part’s body type.
init(multipart: MultipartPart<some RangeReplaceableCollection<UInt8> & Sendable>)

Parameters

multipart

The part to copy the header fields and body from.