Skip to content

Instance Method

writeBoundary(end:)

Writes a multipart boundary with optional termination.
mutating func writeBoundary(end: Bool = false) async throws

Parameters

end

Whether this is the final boundary that terminates the multipart message.

Discussion

Throws

Any error that occurs during writing.