---
lang: en
title: 'API docs: rest.restapplication.restserver'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.restapplication.restserver.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RestApplication](./rest.restapplication.md) &gt; [restServer](./rest.restapplication.restserver.md)

## RestApplication.restServer property

The main REST server instance providing REST API for this application.

<b>Signature:</b>

```typescript
readonly restServer: RestServer;
```

