- Preparing search index...
- The search index is not available
Deepkit
Class HttpRouterRegistryFunctionRegistrarAbstract
Hierarchy
- HttpRouterRegistryFunctionRegistrar
Methods
add
- add(decorator: HttpDecorator, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
any
- any(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
delete
- delete(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
get
- get(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
head
- head(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
options
- options(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
patch
- patch(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
post
- post(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
put
- put(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
trace
- trace(pathOrOptions: string | HttpRouterFunctionOptions, callback: ((...args: any[]) => any)): void
-
Parameters
-
-
callback: ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns void
Returns a new registrar object with default options that apply to each registered route through this registrar.