Interface IRouterMatcher<T, Method>
Type parameters
T
Method: "all" | "get" | "post" | "put" | "delete" | "patch" | "options" | "head" = any
Callable
- IRouterMatcher<Route, P, ResBody, ReqBody, ReqQuery, Locals>(path: Route, ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
- IRouterMatcher<Path, P, ResBody, ReqBody, ReqQuery, Locals>(path: Path, ...handlers: RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
- IRouterMatcher<P, ResBody, ReqBody, ReqQuery, Locals>(path: PathParams, ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
- IRouterMatcher<P, ResBody, ReqBody, ReqQuery, Locals>(path: PathParams, ...handlers: RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
- IRouterMatcher(path: PathParams, subApplication: Application<Record<string, any>>): T
Type parameters
Route: string
ResBody = any
ReqBody = any
Locals: Record<string, any> = Record<string, any>
Parameters
path: Route
Rest ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]
Returns T
Type parameters
Path: string
ResBody = any
ReqBody = any
Locals: Record<string, any> = Record<string, any>
Parameters
Returns T
Type parameters
ResBody = any
ReqBody = any
Locals: Record<string, any> = Record<string, any>
Parameters
Rest ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]
Returns T
Type parameters
ResBody = any
ReqBody = any
Locals: Record<string, any> = Record<string, any>
Parameters
Returns T
Parameters
Returns T