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

x/deno_nest/modules/oak/mod.ts>NestResponse

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
class NestResponse
implements Response
import { NestResponse } from "https://deno.land/x/deno_nest@v3.5.2/modules/oak/mod.ts";

Constructors

new
NestResponse(context: OakContext)

Properties

body:
| string
| object
| number
| boolean
| null
headers: Headers
originalContext: OakContext
status: Status
readonly
statusText