Page Contents

Home > @loopback/rest > BodyParser

BodyParser interface

Interface to be implemented by body parser extensions

Signature:

export interface BodyParser 

Properties

Property Modifiers Type Description
name   string | symbol Name of the parser

Methods

Method Description
parse(request) Parse the request body
supports(mediaType) Indicate if the given media type is supported