Skip to main content
Module

x/drash/tests/deps.ts>Drash.Response#render

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
method Drash.Response.prototype.render
import { Drash } from "https://deno.land/x/drash@v2.7.0/tests/deps.ts";
const { Response } = Drash;

This method allows users to make this.response.render() calls in resources. This method is also used by Tengine:

https://github.com/drashland/deno-drash-middleware/tree/master/tengine

Parameters

_filepath: string
_data: unknown

Returns

boolean | string