Page Contents

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

RestApplication.(constructor)

Create a REST application with the given parent context

Signature:

constructor(parent: Context);

Parameters

Parameter Type Description
parent [Context](/doc/en/lb4/apidocs.context.context.html) Parent context