An internal class used to group together middleware when using multiple middlewares with a router.
new
Layer(path: string,methods: HTTPMethods[],middleware: RouterMiddleware<R, P, S> | RouterMiddleware<R, P, S>[],unnamed 3?: LayerOptions,)
[Symbol.for("Deno.customInspect")](inspect: (value: unknown) => string): string
param(param: string,fn: RouterParamMiddleware<any, any, any>,): this
params(captures: string[],existingParams?: RouteParams<R>,): RouteParams<R>
url(params?: RouteParams<R>,options?: UrlOptions,): string