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

x/oak/context.ts>ContextSendOptions

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
interface ContextSendOptions
implements SendOptions
import { type ContextSendOptions } from "https://deno.land/x/oak@v17.1.2/context.ts";

Options that can be supplied when using the .send() method.

Properties

optional
path: string

The filename to send, which will be resolved based on the other options. If this property is omitted, the current context's .request.url.pathname will be used.