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

x/oak/response.ts>Response#addResource

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
method Response.prototype.addResource
import { Response } from "https://deno.land/x/oak@v12.2.0/response.ts";

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

Parameters

rid: number