import { HttpRouter } from "https://deno.land/x/sptaki@1.2.0/routers/mod.ts";
Constructors
new
HttpRouter(staticRouters: StaticRouter[], dynamicRoutes: DynamicRouter[])Properties
protected
dynamicRoutes: DynamicRouter[]protected
staticRouters: StaticRouter[]Methods
protected
groupBy<T>(list: T[], keyGetter: (t: T) => string): Map<string, T[]>protected
handleRoute(url: string,
info: any,
sessionID: string,
wrapper: ResponseWrapper,
routers: Router[],
dynamic: boolean,
getResponse(): string