x/oak/context.ts

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://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.3/context.ts?s=ContextSendOptions";

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

Properties

optional
path: string
[src]

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.