Module

x/fresh/server.ts>RouteContext

The next-gen web framework.
Extremely Popular
Go to Latest
type alias RouteContext
import { type RouteContext } from "https://dotland.deno.dev/x/fresh@1.4.1/server.ts";

Context passed to async route components.

Type Parameters

optional
T = any
optional
S = Record<string, unknown>
definition: { localAddr?: Deno.NetAddr; remoteAddr: Deno.NetAddr; renderNotFound: (data?: T) => Response | Promise<Response>; url: URL; route: string; params: Record<string, string>; state: S; data: T; }