Skip to main content
Module

x/abc/context.ts>Context#render

A better Deno framework to create web application.
Latest
method Context.prototype.render
import { Context } from "https://deno.land/x/abc@v1.3.3/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>