Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

Super-agent driven library for testing Deno HTTP servers.
Latest
method Oak.Response.prototype.destroy
import { Oak } from "https://deno.land/x/superdeno@4.9.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