x/oak/response.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Response.prototype.addResource
import { Response } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.3/response.ts?p=prototype.addResource&s=Response";

Add a resource to the list of resources that will be closed when the request is destroyed.

Parameters

resource: { close(): void; }[src]