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.4.0/src/server/mod.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