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.2/context.ts?p=prototype.%5BSymbol.for%28%22nodejs.util.inspect.custom%22%29%5D&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.