Module

x/oak/send.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
import * as mod from "https://dotland.deno.dev/x/oak@v17.1.3/send.ts";

Contains the send function which can be used to send static assets while supporting a range of HTTP capabilities.

This is integrated into the oak context via the .send() method.

Functions

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

Interfaces

Options which can be specified when using the send middleware.