UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

39 lines (26 loc) 1.18 kB
--- lang: en title: 'API docs: rest.streambodyparser' 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.streambodyparser.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [StreamBodyParser](./rest.streambodyparser.md) ## StreamBodyParser class A special body parser to retain request stream as is. It will be used by explicitly setting `x-parser` to `'stream'` in the request body spec. <b>Signature:</b> ```typescript export declare class StreamBodyParser implements BodyParser ``` <b>Implements:</b> [BodyParser](./rest.bodyparser.md) ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [name](./rest.streambodyparser.name.md) | | symbol | | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [parse(request)](./rest.streambodyparser.parse.md) | | | | [supports(mediaType)](./rest.streambodyparser.supports.md) | | |