Module

x/abc/context.ts>Context#render

A better Deno framework to create web application.
Go to Latest
method Context.prototype.render
import { Context } from "https://dotland.deno.dev/x/abc@v1.2.4/context.ts";

Renders a template with data and sends a text/html response with status code. renderer must be registered first.

Parameters

name: string
optional
data: T = [UNSUPPORTED]
optional
code: Status = [UNSUPPORTED]

Returns

Promise<void>