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

x/hono/context.ts>HonoContext#newResponse

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

Parameters

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