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

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

A Savory web framework for Deno heavily inspired by Nest
Go to Latest
method Response.prototype.addResource
import { Response } from "https://deno.land/x/danet@1.7.3/src/deps.ts";

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

Parameters

rid: number