UNPKG

@loopback/docs

Version:
43 lines (29 loc) 1.19 kB
--- lang: en title: 'API docs: rest.route' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar permalink: /doc/en/lb4/apidocs.rest.route.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [Route](./rest.route.md) ## Route class <b>Signature:</b> ```typescript export declare class Route extends BaseRoute ``` ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)(verb, path, spec, \_handler)](./rest.route._constructor_.md) | | Constructs a new instance of the <code>Route</code> class | ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [\_handler](./rest.route._handler.md) | | <code>Function</code> | | | [spec](./rest.route.spec.md) | | <code>OperationObject</code> | | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [describe()](./rest.route.describe.md) | | | | [invokeHandler(requestContext, args)](./rest.route.invokehandler.md) | | | | [updateBindings(requestContext)](./rest.route.updatebindings.md) | | |