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

_serverConfig

RestServerResolvedConfig

_routes

RoutingTable

(Optional)