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

x/oak_sessions/deps.ts>Response#destroy

Session middleware for Oak
Go to Latest
method Response.prototype.destroy
import { Response } from "https://deno.land/x/oak_sessions@v4.1.3/deps.ts";

Release any resources that are being tracked by the response.

Parameters

optional
closeResources = [UNSUPPORTED]

close any resource IDs registered with the response