@morojs/moro / IntelligentRoutingManager
Class: IntelligentRoutingManager
Defined in: src/core/routing/app-integration.ts:117
Implements
IntelligentApp
Constructors
Constructor
new IntelligentRoutingManager():
IntelligentRoutingManager
Returns
IntelligentRoutingManager
Methods
delete()
delete(
path
):RouteBuilder
Defined in: src/core/routing/app-integration.ts:133
Parameters
path
string
Returns
Implementation of
IntelligentApp.delete
directRoute()
directRoute(
method
,path
,handler
,options?
):void
Defined in: src/core/routing/app-integration.ts:172
Parameters
method
string
path
string
handler
Function
options?
any
Returns
void
Implementation of
IntelligentApp.directRoute
get()
get(
path
):RouteBuilder
Defined in: src/core/routing/app-integration.ts:121
Parameters
path
string
Returns
Implementation of
IntelligentApp.get
getIntelligentRoutes()
getIntelligentRoutes():
CompiledRoute
[]
Defined in: src/core/routing/app-integration.ts:167
Returns
handleIntelligentRoute()
handleIntelligentRoute(
req
,res
):Promise
<boolean
>
Defined in: src/core/routing/app-integration.ts:162
Parameters
req
res
Returns
Promise
<boolean
>
head()
head(
path
):RouteBuilder
Defined in: src/core/routing/app-integration.ts:141
Parameters
path
string
Returns
Implementation of
IntelligentApp.head
options()
options(
path
):RouteBuilder
Defined in: src/core/routing/app-integration.ts:145
Parameters
path
string
Returns
Implementation of
IntelligentApp.options
patch()
patch(
path
):RouteBuilder
Defined in: src/core/routing/app-integration.ts:137
Parameters
path
string
Returns
Implementation of
IntelligentApp.patch
post()
post(
path
):RouteBuilder
Defined in: src/core/routing/app-integration.ts:125
Parameters
path
string
Returns
Implementation of
IntelligentApp.post
put()
put(
path
):RouteBuilder
Defined in: src/core/routing/app-integration.ts:129
Parameters
path
string
Returns
Implementation of
IntelligentApp.put
register()
register(
route
):void
Defined in: src/core/routing/app-integration.ts:157
Parameters
route
Returns
void
Implementation of
IntelligentApp.register
route()
route(
schema
):CompiledRoute
Defined in: src/core/routing/app-integration.ts:150
Parameters
schema
Returns
Implementation of
IntelligentApp.route