Skip to main content
Module

x/keywork/http/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/mod.ts";

A client-side cachable response.

Constructors

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