Vapor Documentation Beta

Protocol View​Renderer

public protocol ViewRenderer
%3 ViewRenderer ViewRenderer PlaintextRenderer PlaintextRenderer PlaintextRenderer->ViewRenderer

Types Conforming to View​Renderer

PlaintextRenderer

Requirements

`for`(_:​)

func `for`(_ request: Request) -> ViewRenderer

render(_:​_:​)

func render<E>(_ name: String, _ context: E) -> EventLoopFuture<View> where E: Encodable