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

x/superdeno/test/deps.ts>Oak.Response#destroy

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
method Oak.Response.prototype.destroy
import { Oak } from "https://deno.land/x/superdeno@4.8.0/test/deps.ts";
const { Response } = Oak;

Release any resources that are being tracked by the response.

Parameters

optional
closeResources = [UNSUPPORTED]

close any resource IDs registered with the response