Module

x/drash/mod.ts>Response#send

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
method Response.prototype.send
import { Response } from "https://dotland.deno.dev/x/drash@v2.7.0/mod.ts";

Set thie body of this response.

Parameters

contentType: string
  • The content type to use in the Content-Type header.
body: T
  • The body of the response.