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 🐿️ 🦕
Very Popular
Go to Latest
method Response.prototype.destroy
import { Response } from "https://deno.land/x/oak@v12.2.0/response.ts";

Release any resources that are being tracked by the response.

Parameters

optional
closeResources = [UNSUPPORTED]

close any resource IDs registered with the response