---
lang: en
title: 'API docs: rest.textbodyparser._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.textbodyparser._constructor_.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [TextBodyParser](./rest.textbodyparser.md) &gt; [(constructor)](./rest.textbodyparser._constructor_.md)

## TextBodyParser.(constructor)

Constructs a new instance of the `TextBodyParser` class

<b>Signature:</b>

```typescript
constructor(options?: RequestBodyParserOptions);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  options | [RequestBodyParserOptions](./rest.requestbodyparseroptions.md) |  |


