---
lang: en
title: 'API docs: rest.rawbodyparser'
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.rawbodyparser.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RawBodyParser](./rest.rawbodyparser.md)

## RawBodyParser class

Parsing the request body into Buffer

<b>Signature:</b>

```typescript
export declare class RawBodyParser implements BodyParser 
```
<b>Implements:</b> [BodyParser](./rest.bodyparser.md)

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(options)](./rest.rawbodyparser._constructor_.md) |  | Constructs a new instance of the <code>RawBodyParser</code> class |

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [name](./rest.rawbodyparser.name.md) |  | symbol |  |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [parse(request)](./rest.rawbodyparser.parse.md) |  |  |
|  [supports(mediaType)](./rest.rawbodyparser.supports.md) |  |  |


