Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
method Drash.Response.prototype.send
import { Drash } from "https://deno.land/x/sinco@v4.1.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.