Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak/response.ts>Response#destroy

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Response.prototype.destroy
import { Response } from "https://deno.land/x/oak@v17.1.3/response.ts";

Release any resources that are being tracked by the response.

Parameters

optional
closeResources = [UNSUPPORTED]

close any resource IDs registered with the response