Skip to main content
Module

x/deco/deps.ts>HandlerContext

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Very Popular
Go to Latest
interface HandlerContext
implements ServeHandlerInfo
import { type HandlerContext } from "https://deno.land/x/deco@1.35.3/deps.ts";

Type Parameters

optional
Data = unknown
optional
State = Record<string, unknown>

Properties

params: Record<string, string>
render: (data?: Data, options?: RenderOptions) => Response | Promise<Response>
renderNotFound: (data?: Data) => Response | Promise<Response>
state: State