x/oak/response.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
type alias ResponseBodyFunction
import { type ResponseBodyFunction } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.3/response.ts?p=prototype.%5BSymbol.for%28%22Deno.customInspect%22%29%5D&s=ResponseBodyFunction";

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

definition: () => ResponseBody | Promise<ResponseBody>[src]