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

x/danet/src/deps.ts>Response#addResource

The most mature backend framework for Deno
Go to Latest
method Response.prototype.addResource
import { Response } from "https://deno.land/x/danet@1.7.4/src/deps.ts";

Add a resource to the list of resources that will be closed when the request is destroyed.

Parameters

rid: number