Skip to content

Instance Method

finish(writingEndBoundary:)

If the buffer has not been emptied by the last write, flushes the final part of the message to the underlying writer.
mutating func finish(writingEndBoundary: Bool = true) async throws

Discussion

By default, writes the end boundary as required by the multipart protocol.