Skip to main content
Module

x/oak/response.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Extremely Popular
Latest
import * as oak from "https://deno.land/x/oak@v16.0.0/response.ts";

Contains the Response abstraction used by oak.

Most end users would not need to directly access this module.

Classes

An interface to control what response will be sent when the middleware finishes processing the request.

Variables

A symbol that indicates to response.redirect() to attempt to redirect back to the request referrer. For example:

Type Aliases

The various types of bodies supported when setting the value of .body on a Response

A function that when invoked returns or resolves to a ResponseBody.