import { DanetRouter } from "https://deno.land/x/danet@2.0.1/mod.ts";
Constructors
new
DanetRouter(injector: Injector,
guardExecutor?: GuardExecutor,
filterExecutor?: FilterExecutor,
viewRenderer?: Renderer,
router: Application,
Properties
private
logger: Loggerprivate
methodsMap: Map<string, HandlerInterface>private
middlewareExecutor: MiddlewareExecutorMethods
private
handleError(executionContext: ExecutionContext,
error: any,
Controller: ControllerConstructor,
ControllerMethod: (...args: any[]) => unknown,
private
registerController(Controller: Constructor)private
resolveMethodParam(Controller: ControllerConstructor,
ControllerMethod: (...args: any[]) => unknown,
context: HttpContext,
private
sendResponse()handleRoute(Controller: ControllerConstructor, ControllerMethod: Callback)
registerControllers(Controllers: Constructor[])
setPrefix(prefix: string)