Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

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.