UNPKG

@loopback/docs

Version:
33 lines (21 loc) 841 B
--- lang: en title: 'API docs: rest.regexprouter.addroutewithpathvars' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest permalink: /doc/en/lb4/apidocs.rest.regexprouter.addroutewithpathvars.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RegExpRouter](./rest.regexprouter.md) &gt; [addRouteWithPathVars](./rest.regexprouter.addroutewithpathvars.md) ## RegExpRouter.addRouteWithPathVars() method <b>Signature:</b> ```typescript protected addRouteWithPathVars(route: RouteEntry): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | route | <code>RouteEntry</code> | | <b>Returns:</b> `void`