@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
26 lines (17 loc) • 733 B
Markdown
lang: en
title: 'API docs: rest.bodyparserfunction'
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.bodyparserfunction.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [BodyParserFunction](./rest.bodyparserfunction.md)
## BodyParserFunction type
Plain function for body parsing
<b>Signature:</b>
```typescript
export declare type BodyParserFunction = (request: Request) => Promise<RequestBody>;
```
<b>References:</b> [RequestBody](./rest.requestbody.md)