Instance Method encodeResponse(for:) Encodes an instance of Self to a Response. func encodeResponse(for request: Request) -> EventLoopFuture<Response> Return Value A Response.