Skip to main content
Module

x/oak/send.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Extremely Popular
Latest
import * as oak from "https://deno.land/x/oak@v16.0.0/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.