UNPKG

@loopback/docs

Version:

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

33 lines (21 loc) 786 B
--- lang: en title: 'API docs: rest.rawbodyparser.supports' 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.rawbodyparser.supports.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) &gt; [supports](./rest.rawbodyparser.supports.md) ## RawBodyParser.supports() method <b>Signature:</b> ```typescript supports(mediaType: string): boolean; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | mediaType | string | | <b>Returns:</b> boolean