Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/superdeno/test/deps.ts>Oak.Response#addResource

Super-agent driven library for testing Deno HTTP servers.
Latest
method Oak.Response.prototype.addResource
import { Oak } from "https://deno.land/x/superdeno@4.9.0/test/deps.ts";
const { Response } = Oak;

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

Parameters

rid: number