Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_http_proxy/test/deps.ts>Oak.send

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕
Latest
function Oak.send
import { Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { send } = Oak;

Asynchronously fulfill a response with a file from the local file system.

Requires Deno read permission for the root directory.

Parameters

unnamed 0: Context<any>
path: string
optional
options: SendOptions = [UNSUPPORTED]

Returns

Promise<string | undefined>