Skip to main content
Module

x/keywork/mod.ts>HTTP.CORSHeaderApplier

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
type alias HTTP.CORSHeaderApplier
import { type HTTP } from "https://deno.land/x/keywork@v6.0.1/mod.ts";
const { CORSHeaderApplier } = HTTP;
definition: (
request: globalThis.Request,
response: globalThis.Response,
corsOptions: CORSOptions,
) => void | Promise<void>