UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

33 lines (22 loc) 1.06 kB
--- lang: en title: 'API docs: rest.httphandler._constructor_' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest permalink: /doc/en/lb4/apidocs.rest.httphandler._constructor_.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [HttpHandler](./rest.httphandler.md) &gt; [(constructor)](./rest.httphandler._constructor_.md) ## HttpHandler.(constructor) Constructs a new instance of the `HttpHandler` class <b>Signature:</b> ```typescript constructor(_rootContext: Context, _serverConfig: RestServerResolvedConfig, _routes?: RoutingTable); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | \_rootContext | [Context](./context.context.md) | | | \_serverConfig | [RestServerResolvedConfig](./rest.restserverresolvedconfig.md) | | | \_routes | [RoutingTable](./rest.routingtable.md) | |