- Route<This>(httpMethod, path, options?): ((method, context) => RouterBeanHandler)
Parameters
- httpMethod: HTTPMethod
- path: string
- options: RouteOptions = ...
Returns ((method, context) => RouterBeanHandler)
- (method, context): RouterBeanHandler
Parameters
- method: RouterBeanHandler
- context: ClassMethodDecoratorContext<This, RouterBeanHandler>
Returns RouterBeanHandler
Registers a RequestHandler