Skip to main content
Module

x/live/deps.ts>HandlerContext

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Very Popular
Go to Latest
interface HandlerContext
implements ServeHandlerInfo
import { type HandlerContext } from "https://deno.land/x/live@1.57.1/deps.ts";

Type Parameters

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

Properties

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