Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh/src/server/deps.ts>rutt.Handler

The next-gen web framework.
Extremely Popular
Go to Latest
type alias rutt.Handler
import { type rutt } from "https://deno.land/x/fresh@1.1.3/src/server/deps.ts";
const { Handler } = rutt;

A handler for HTTP requests. Consumes a request and HandlerContext and returns an optionally async response.

Type Parameters

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