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

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

Fast, minimalist web framework for Deno ported from ExpressJS.
Very Popular
Go to Latest
method Response.prototype.send
import { Response } from "https://deno.land/x/opine@2.2.0/src/response.ts";

Send a response.

Examples:

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

Returns

this

for chaining