Module

x/drash/src/modules/middleware/CORS/mod.ts>CORS

A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
Latest
function CORS
import { CORS } from "https://dotland.deno.dev/x/drash@v3.0.0-beta.2/src/modules/middleware/CORS/mod.ts";

Get the middleware class that handles CORS requests.

Parameters

optional
options: Options = [UNSUPPORTED]

(Optional) Options to control the middleware's behavior. See Options for details.