Page Contents

Home > @loopback/rest > RestComponent > (constructor)

RestComponent.constructor

Constructs a new instance of the RestComponent class

Signature:

constructor(app: Application, config?: RestComponentConfig);

Parameters

Parameter Type Description
app Application  
config RestComponentConfig