import { serve } from "https://dotland.deno.dev/x/oak@v13.2.5/mod.ts";
Wrap a handler function to generate middleware that can be used with an oak
Application
. This allows the handler to deal with a Fetch API
standard Request
and return a standard Response
.
Type Parameters
S extends State
Parameters
middleware: ServeMiddleware<S>