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

x/alosaur/src/static/send.ts>send

Alosaur - Deno web framework with many decorators
Go to Latest
function send
import { send } from "https://deno.land/x/alosaur@v0.16.2/src/static/send.ts";

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

Parameters

unnamed 0: RequestResponce
path: string
optional
options: SendOptions = [UNSUPPORTED]

Returns

Promise<string | undefined>