Instance Method (Default implementation)vapor 4.114.1Vapor
render(_:_:)
ViewRenderer+Concurrency.swift:4func render<E>(_ name: String, _ context: E) async throws -> View where E : Encodable
func render<E>(_ name: String, _ context: E) async throws -> View where E : Encodable
s5Vapor12ViewRendererPAAE6renderyAA0B0VSS_qd__tYaKSERd__lF
What are these?6IO9G
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.
struct View
protocol Encodable
A type that can encode itself to an external representation.
func render<E>(_ name: String, _ context: E) -> EventLoopFuture<View> where E : Encodable
func render(_ name: String) -> EventLoopFuture<View>
func render(_ name: String) async throws -> View