Skip to main content
Module

x/drash/src/http/response.ts>DrashResponse#send

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
method DrashResponse.prototype.send
import { DrashResponse } from "https://deno.land/x/drash@v2.7.0/src/http/response.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.