@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
65 lines (34 loc) • 1.17 kB
Markdown
---
lang: en
title: 'API docs: rest.sequencehandler.handle'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.sequencehandler.handle.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [SequenceHandler](./rest.sequencehandler.md) > [handle](./rest.sequencehandler.handle.md)
## SequenceHandler.handle() method
Handle the request by running the configured sequence of actions.
**Signature:**
```typescript
handle(context: RequestContext): Promise<void>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
context
</td><td markdown="1">
[RequestContext](./rest.requestcontext.md)
</td><td markdown="1">
The request context: HTTP request and response objects, per-request IoC container and more.
</td></tr>
</tbody></table>
**Returns:**
Promise<void>