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

x/opine/src/response.ts>Response#addResource

Fast, minimalist web framework for Deno ported from ExpressJS.
Very Popular
Go to Latest
method Response.prototype.addResource
import { Response } from "https://deno.land/x/opine@2.2.0/src/response.ts";

Add a resource ID to the list of resources to be closed after the .end() method has been called.

Parameters

rid: number

Resource ID