@loopback/docs
Version:
Documentation for LoopBack 4
30 lines (19 loc) • 759 B
Markdown
lang: en
title: 'API docs: rest.restapplication.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.restapplication.(constructor).html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RestApplication](./rest.restapplication.md) > [(constructor)](./rest.restapplication.(constructor).md)
## RestApplication.(constructor)
Constructs a new instance of the `RestApplication` class
<b>Signature:</b>
```typescript
constructor(config?: ApplicationConfig);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| config | <code>ApplicationConfig</code> | |