@morojs/moro


@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

RouteBuilder

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

RouteBuilder

Implementation of

IntelligentApp.get


getIntelligentRoutes()

getIntelligentRoutes(): CompiledRoute[]

Defined in: src/core/routing/app-integration.ts:167

Returns

CompiledRoute[]


handleIntelligentRoute()

handleIntelligentRoute(req, res): Promise<boolean>

Defined in: src/core/routing/app-integration.ts:162

Parameters

req

HttpRequest

res

HttpResponse

Returns

Promise<boolean>


head()

head(path): RouteBuilder

Defined in: src/core/routing/app-integration.ts:141

Parameters

path

string

Returns

RouteBuilder

Implementation of

IntelligentApp.head


options()

options(path): RouteBuilder

Defined in: src/core/routing/app-integration.ts:145

Parameters

path

string

Returns

RouteBuilder

Implementation of

IntelligentApp.options


patch()

patch(path): RouteBuilder

Defined in: src/core/routing/app-integration.ts:137

Parameters

path

string

Returns

RouteBuilder

Implementation of

IntelligentApp.patch


post()

post(path): RouteBuilder

Defined in: src/core/routing/app-integration.ts:125

Parameters

path

string

Returns

RouteBuilder

Implementation of

IntelligentApp.post


put()

put(path): RouteBuilder

Defined in: src/core/routing/app-integration.ts:129

Parameters

path

string

Returns

RouteBuilder

Implementation of

IntelligentApp.put


register()

register(route): void

Defined in: src/core/routing/app-integration.ts:157

Parameters

route

CompiledRoute

Returns

void

Implementation of

IntelligentApp.register


route()

route(schema): CompiledRoute

Defined in: src/core/routing/app-integration.ts:150

Parameters

schema

RouteSchema

Returns

CompiledRoute

Implementation of

IntelligentApp.route