Constructors
constructor
- new Lib(serverModule: ServerModule, options: Options): Lib
-
Parameters
-
serverModule: ServerModule
-
Returns Lib
Methods
registerRoutes
- registerRoutes(routeEnabling?: true | DisabledRoutes, middlewares?: Middlewares | RouteMiddlewares): RouterService
-
Parameters
-
Optional routeEnabling: true | DisabledRoutes
-
Optional middlewares: Middlewares | RouteMiddlewares
Returns RouterService
Expose the module routes