Module

x/fresh/server.ts>ServerContext#handler

The next-gen web framework.
Extremely Popular
Latest
method ServerContext.prototype.handler
import { ServerContext } from "https://dotland.deno.dev/x/fresh@1.7.3/server.ts";

This functions returns a request handler that handles all routes required by Fresh, including static files.

Returns

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