Skip to content
Vapor Week is coming 14th September!

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

Instance Method

finish()

Writes the final boundary to the multipart data.
mutating func finish() async throws(Self.Failure)

Discussion

This method should be called when all parts have been written to properly terminate the multipart message.

Throws

The writer’s Failure.