Skip to main content
Module

x/keywork/mod.ts>HTTP.CachableResponse

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
class HTTP.CachableResponse
Re-export
import { HTTP } from "https://deno.land/x/keywork@v6.0.1/mod.ts";
const { CachableResponse } = HTTP;

A client-side cachable response.

Constructors

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