@morojs/moro / IntelligentRoutingManager
Class: IntelligentRoutingManager
Defined in: src/core/routing/app-integration.ts:71
Implements
IntelligentApp
Constructors
Constructor
new IntelligentRoutingManager():
IntelligentRoutingManager
Returns
IntelligentRoutingManager
Methods
delete()
delete(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:87
Parameters
path
string
Returns
Implementation of
IntelligentApp.delete
directRoute()
directRoute(
method,path,handler,options?):void
Defined in: src/core/routing/app-integration.ts:135
Parameters
method
string
path
string
handler
(req, res) => any
options?
any
Returns
void
Implementation of
IntelligentApp.directRoute
get()
get(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:75
Parameters
path
string
Returns
Implementation of
IntelligentApp.get
getIntelligentRoutes()
getIntelligentRoutes():
CompiledRoute[]
Defined in: src/core/routing/app-integration.ts:122
Returns
handleIntelligentRoute()
handleIntelligentRoute(
req,res):Promise<boolean>
Defined in: src/core/routing/app-integration.ts:117
Parameters
req
res
Returns
Promise<boolean>
head()
head(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:95
Parameters
path
string
Returns
Implementation of
IntelligentApp.head
options()
options(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:99
Parameters
path
string
Returns
Implementation of
IntelligentApp.options
patch()
patch(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:91
Parameters
path
string
Returns
Implementation of
IntelligentApp.patch
post()
post(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:79
Parameters
path
string
Returns
Implementation of
IntelligentApp.post
put()
put(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:83
Parameters
path
string
Returns
Implementation of
IntelligentApp.put
register()
register(
_route):void
Defined in: src/core/routing/app-integration.ts:111
Parameters
_route
Returns
void
Implementation of
IntelligentApp.register
route()
route(
schema):CompiledRoute
Defined in: src/core/routing/app-integration.ts:104
Parameters
schema
Returns
Implementation of
IntelligentApp.route