Instance Method
writeBoundary(end:)
Writes a multipart boundary with optional termination.
mutating func writeBoundary(end: Bool) async throws
Parameters
endWhether this is the final boundary that terminates the multipart message.
Discussion
Note
Override this method only for performance reasons. Most implementations should rely on the default implementation unless specific performance optimizations are needed.
Default Implementations
MultipartWriter Implementations
writeBoundary(end:)Writes a multipart boundary with optional termination.