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

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

Minimalist web framework for Deno ported from ExpressJS.
Latest
method Response.prototype.addResource
import { Response } from "https://deno.land/x/opine@2.3.4/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