Skip to content

Instance Method

next()

Advances to the next serialized chunk of multipart data.
mutating func next() async throws -> OutboundBody?

Return Value

The next chunk of serialized multipart data, or nil if the sequence is complete.

Discussion

Throws

Any error that occurs during serialization.