Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2/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