Page Contents
Home > @loopback/rest > HttpHandler > (constructor)
HttpHandler.(constructor)
Constructs a new instance of the HttpHandler class
Signature:
constructor(_rootContext: Context, _serverConfig: RestServerResolvedConfig, _routes?: RoutingTable);
Parameters
| Parameter | Type | Description |
|---|---|---|
| \_rootContext | [Context](/doc/en/lb4/apidocs.context.context.html) | |
| \_serverConfig | [RestServerResolvedConfig](/doc/en/lb4/apidocs.rest.restserverresolvedconfig.html) | |
| \_routes | [RoutingTable](/doc/en/lb4/apidocs.rest.routingtable.html) | _(Optional)_ |