Instance Methodvapor 4.114.1Vapor->NIOCore
encodeResponse(for:)
ResponseCodable.swift:90func encodeResponse(for request: Request) -> EventLoopFuture<Response> func encodeResponse(for request: Request) -> EventLoopFuture<Response> s7NIOCore15EventLoopFutureC5VaporAD17ResponseEncodableRzlE06encodeF03forACyAD0F0CGAD7RequestC_tF What are these?1F7RKwhere Value:ResponseEncodableimport NIOCoreThe core abstractions that make up SwiftNIO.
import VaporVapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
final class EventLoopFuture<Value>Holder for a result that will be provided later.
final class RequestRepresents an HTTP request in an application.
final class ResponseAn HTTP response from a server back to the client.
protocol ResponseEncodableCan convert self to a Response.