Page Contents

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

RestApplication.(constructor)

Create a REST application with the given configuration and parent context

Signature:

constructor(config?: ApplicationConfig, parent?: Context);

Parameters

Parameter Type Description
config ApplicationConfig (Optional) Application configuration
parent Context (Optional) Parent context