Page Contents

Home > @loopback/rest > StreamBodyParser

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.

Signature:

export declare class StreamBodyParser implements BodyParser 

Implements: BodyParser

Properties

Property Modifiers Type Description
[name](/doc/en/lb4/apidocs.rest.streambodyparser.name.html) symbol

Methods

Method Modifiers Description
[parse(request)](/doc/en/lb4/apidocs.rest.streambodyparser.parse.html)
[supports(mediaType)](/doc/en/lb4/apidocs.rest.streambodyparser.supports.html)