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
Very Popular
Go to Latest
function send
import { send } from "https://deno.land/x/alosaur@v0.31.1/src/static/send.ts";

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

Parameters

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

Returns

Promise<string | undefined>