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

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

The next-gen web framework.
Extremely Popular
Go to Latest
function createHandler
import { createHandler } from "https://deno.land/x/fresh@1.4.0/src/server/mod.ts";

Parameters

routes: Manifest
optional
opts: StartOptions = [UNSUPPORTED]

Returns

Promise<(req: Request, connInfo?: ServeHandlerInfo) => Promise<Response>>