Skip to content

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

Instance Method

writeBoundary(end:)

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

Parameters

end

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

Discussion

Throws

The writer’s Failure.