Skip to content

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

Instance MethodMultipartKit

encode(_:to:headers:userInfo:)

func encode(_ encodable: some Encodable, to body: inout Data, headers: inout HTTPFields, userInfo: [CodingUserInfoKey : any Sendable]) throws