Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/src/server/mod.ts>HandlerContext

The next-gen web framework.
Extremely Popular
Go to Latest
interface HandlerContext
implements ServeHandlerInfo
import { type HandlerContext } from "https://deno.land/x/fresh@1.5.1/src/server/mod.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