import { DanetHTTPRouter } from "https://deno.land/x/danet@2.4.0/src/mod.ts";
Constructors
new
DanetHTTPRouter(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
handleSSE(executionContext: ExecutionContext, response: EventTarget)private
sendResponse()handleRoute(Controller: ControllerConstructor, ControllerMethod: Callback)
registerController(Controller: Constructor, basePath: string)
setPrefix(prefix: string)