Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/abc@v1.3.1/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>