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

x/opine/src/response.ts>Response#send

Minimalist web framework for Deno ported from ExpressJS.
Latest
method Response.prototype.send
import { Response } from "https://deno.land/x/opine@2.3.4/src/response.ts";

Send a response.

Examples:

res.send({ some: 'json' });
res.send('<p>some html</p>');

Parameters

body: ResponseBody

Returns

this

for chaining