External module "server/decorators/router"
Functions
After
- After(middlw: function): (Anonymous function)
-
Parameters
Returns (Anonymous function)
AfterAll
- AfterAll(middlw: function): (Anonymous function)
-
Parameters
Returns (Anonymous function)
Before
- Before(middlw: function): (Anonymous function)
-
Parameters
Returns (Anonymous function)
BeforeAll
- BeforeAll(middlw: function): (Anonymous function)
-
Parameters
Returns (Anonymous function)
Delete
- Delete(path: string, permission?: object): (Anonymous function)
-
Parameters
-
path: string
-
Optional permission: object
-
name: string
-
secret: string
Returns (Anonymous function)
Endpoint
- Endpoint(): (Anonymous function)
-
Returns (Anonymous function)
Get
- Get(path: string, permission?: object): (Anonymous function)
-
Parameters
-
path: string
-
Optional permission: object
-
name: string
-
secret: string
Returns (Anonymous function)
Head
- Head(path: string, permission?: object): (Anonymous function)
-
Parameters
-
path: string
-
Optional permission: object
-
name: string
-
secret: string
Returns (Anonymous function)
Options
- Options(path: string, permission?: object): (Anonymous function)
-
Parameters
-
path: string
-
Optional permission: object
-
name: string
-
secret: string
Returns (Anonymous function)
Patch
- Patch(path: string, permission?: object): (Anonymous function)
-
Parameters
-
path: string
-
Optional permission: object
-
name: string
-
secret: string
Returns (Anonymous function)
Post
- Post(path: string, permission?: object): (Anonymous function)
-
Parameters
-
path: string
-
Optional permission: object
-
name: string
-
secret: string
Returns (Anonymous function)
Put
- Put(path: string, permission?: object): (Anonymous function)
-
Parameters
-
path: string
-
Optional permission: object
-
name: string
-
secret: string
Returns (Anonymous function)
Middleware to excute after the method
Create your middleware