@loopback/docs
Version:
Documentation for LoopBack 4
33 lines (21 loc) • 791 B
Markdown
lang: en
title: 'API docs: rest.restapplication.handler'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.restapplication.handler.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RestApplication](./rest.restapplication.md) > [handler](./rest.restapplication.handler.md)
## RestApplication.handler() method
<b>Signature:</b>
```typescript
handler(handlerFn: SequenceFunction): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| handlerFn | <code>SequenceFunction</code> | |
<b>Returns:</b>
`void`