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

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

The next-gen web framework.
Extremely Popular
Go to Latest
type alias Handler
Re-export
import { type Handler } from "https://deno.land/x/fresh@1.5.1/src/server/mod.ts";

Type Parameters

optional
T = any
optional
State = Record<string, unknown>
definition: (req: Request, ctx: HandlerContext<T, State>) => Response | Promise<Response>