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

x/hono/mod.ts>Context#newResponse

Ultrafast web framework for Cloudflare Workers, Deno, and Bun. Fast, but not only fast.
Very Popular
Go to Latest
method Context.prototype.newResponse
import { Context } from "https://deno.land/x/hono@v2.5.5/mod.ts";

Parameters

data: Data | null
status: StatusCode
optional
headers: Headers = [UNSUPPORTED]