@morojs/moro / IntelligentRoutingManager
Class: IntelligentRoutingManager
Defined in: src/core/routing/app-integration.ts:66
Implements
IntelligentApp
Constructors
Constructor
new IntelligentRoutingManager():
IntelligentRoutingManager
Returns
IntelligentRoutingManager
Methods
delete()
delete(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:82
Parameters
path
string
Returns
Implementation of
IntelligentApp.delete
directRoute()
directRoute(
method,path,handler,options?):void
Defined in: src/core/routing/app-integration.ts:130
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:70
Parameters
path
string
Returns
Implementation of
IntelligentApp.get
getIntelligentRoutes()
getIntelligentRoutes():
CompiledRoute[]
Defined in: src/core/routing/app-integration.ts:117
Returns
handleIntelligentRoute()
handleIntelligentRoute(
req,res):Promise<boolean>
Defined in: src/core/routing/app-integration.ts:112
Parameters
req
res
Returns
Promise<boolean>
head()
head(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:90
Parameters
path
string
Returns
Implementation of
IntelligentApp.head
options()
options(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:94
Parameters
path
string
Returns
Implementation of
IntelligentApp.options
patch()
patch(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:86
Parameters
path
string
Returns
Implementation of
IntelligentApp.patch
post()
post(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:74
Parameters
path
string
Returns
Implementation of
IntelligentApp.post
put()
put(
path):RouteBuilder
Defined in: src/core/routing/app-integration.ts:78
Parameters
path
string
Returns
Implementation of
IntelligentApp.put
register()
register(
_route):void
Defined in: src/core/routing/app-integration.ts:106
Parameters
_route
Returns
void
Implementation of
IntelligentApp.register
route()
route(
schema):CompiledRoute
Defined in: src/core/routing/app-integration.ts:99
Parameters
schema
Returns
Implementation of
IntelligentApp.route