Taxum / @taxum/core / routing / m
Variable: m
const
m:object
Defined in: routing/method-router.ts:39
Shortcut methods for creating MethodRouters for a given method.
Type declaration
connect()
connect: (
handler
) =>MethodRouter
Parameters
handler
Returns
delete()
delete: (
handler
) =>MethodRouter
Parameters
handler
Returns
get()
get: (
handler
) =>MethodRouter
Parameters
handler
Returns
head()
head: (
handler
) =>MethodRouter
Parameters
handler
Returns
options()
options: (
handler
) =>MethodRouter
Parameters
handler
Returns
patch()
patch: (
handler
) =>MethodRouter
Parameters
handler
Returns
post()
post: (
handler
) =>MethodRouter
Parameters
handler
Returns
put()
put: (
handler
) =>MethodRouter
Parameters
handler
Returns
trace()
trace: (
handler
) =>MethodRouter