Skip to content

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

Initializer

init(headerFields:body:)

Creates an instance from a MultipartPart.
init(headerFields: HTTPFields, body: RawSpan) throws

Discussion

Throws

If the part does not hold a valid representation of this type.