Module

x/oak/response.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/oak@v16.1.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.