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

x/keywork/http/classes/mod.ts>CachableResponse

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
class CachableResponse
extends Response
Re-export
import { CachableResponse } from "https://deno.land/x/keywork@v6.2.1/http/classes/mod.ts";

A client-side cachable response.

Constructors

new
CachableResponse(
body: BodyInit | null,
request?: Request,
etag?: string | null,
cacheControlOptions?: Partial<CacheControlDirectives>,
headersInit?: HeadersInit,
)