Required Instance Methodvapor 4.114.1Vapor
render(_:_:)
ViewRenderer.swift:5func render<E>(_ name: String, _ context: E) -> EventLoopFuture<View> where E : Encodable
func render<E>(_ name: String, _ context: E) -> EventLoopFuture<View> where E : Encodable
s5Vapor12ViewRendererP6rendery7NIOCore15EventLoopFutureCyAA0B0VGSS_qd__tSERd__lF
What are these?434OX
import Vapor
Vapor 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.
protocol ViewRenderer
@frozen struct String
A Unicode string value that is a collection of characters.
final class EventLoopFuture<Value>
Holder for a result that will be provided later.
struct View
protocol Encodable
A type that can encode itself to an external representation.
func `for`(_ request: Request) -> ViewRenderer
func render<E>(_ name: String, _ context: E) async throws -> View where E : Encodable