Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Instance Method

encodeResponse(for:)

Encodes an instance of Self to a Response.
func encodeResponse(for request: Request) async throws -> Response

Return Value

An Response.