function routeimport { route } from "https://dotland.deno.dev/x/oak@v17.1.3/middleware/serve.ts"; route<R extends string, P extends RouteParams<R>, S extends State>(middleware: ServeRouterMiddleware<R, P, S>): RouterMiddleware<R, P, S>Wrap a handler function to generate middleware that can be used with an oak Router. This allows the handler to deal with a Fetch API standard {@link Request} and return a standard {@link Response}. Type ParametersR extends stringP extends RouteParams<R>S extends StateParametersmiddleware: ServeRouterMiddleware<R, P, S>ReturnsRouterMiddleware<R, P, S>