Skip to main content
Module

x/oak/response.ts>ResponseBodyFunction

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Extremely Popular
Go to Latest
type alias ResponseBodyFunction
import { type ResponseBodyFunction } from "https://deno.land/x/oak@14.2.0/response.ts";

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

definition: () => ResponseBody | Promise<ResponseBody>